1.1.0 • Published 9 months ago

@importok/react v1.1.0

Weekly downloads
-
License
-
Repository
-
Last release
9 months ago

importOK React Component

This is a React component for importOK.

Installation

npm install --save @importok/react

Usage

import ImportokWizard from '@importok/react';

function App() {
  /**
   * Import fields to be mapped
   * Check https://importok.io/docs/fields.html for more details
   */
  const fields = {};

  /**
   * Push the provided record to the API
   * Check https://importok.io/docs/webhooks.html for more details
   */
  const saveRecord = async function (record, meta) {};

  /**
   * Custom transformers
   * Check https://importok.io/docs/custom-transformers.html for more details
   */
  const transformers = {};
 
  /**
   * Custom validators
   * Check https://importok.io/docs/custom-validators.html for more details
   */
  const validators = {};

  return (
    <div className="App">
      <ImportokWizard
        title="ImportOK Example for React"
        fields={fields}
        transformers={transformers}
        validators={validators} 
        onRecordReady={saveRecord}
      />
    </div>
  );
}

Learn more →

1.0.2

9 months ago

1.1.0

9 months ago

1.0.1

9 months ago

1.0.0

10 months ago

0.15.0

10 months ago

0.15.1

10 months ago

0.14.3

11 months ago

0.14.4

11 months ago

0.10.9

1 year ago

0.12.0

1 year ago

0.12.1

12 months ago

0.14.0

11 months ago

0.13.1

11 months ago

0.14.1

11 months ago

0.10.10

1 year ago

0.14.2

11 months ago

0.13.3

11 months ago

0.10.7

1 year ago

0.10.8

1 year ago

0.10.6

1 year ago

0.10.5

1 year ago

0.10.4

1 year ago

0.10.3

1 year ago

0.10.2

1 year ago

0.10.1

1 year ago

0.10.0

1 year ago

0.9.4

1 year ago

0.9.3

1 year ago

0.9.2

1 year ago

0.9.0

1 year ago

0.9.1

1 year ago

0.8.8

1 year ago

0.8.7

1 year ago

0.8.5

2 years ago

0.8.6

2 years ago

0.8.4

2 years ago