1.1.0 • Published 12 months ago
@importok/react v1.1.0
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>
);
}
1.0.2
1 year ago
1.1.0
12 months ago
1.0.1
1 year ago
1.0.0
1 year ago
0.15.0
1 year ago
0.15.1
1 year ago
0.14.3
1 year ago
0.14.4
1 year ago
0.10.9
1 year ago
0.12.0
1 year ago
0.12.1
1 year ago
0.14.0
1 year ago
0.13.1
1 year ago
0.14.1
1 year ago
0.10.10
1 year ago
0.14.2
1 year ago
0.13.3
1 year 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
2 years ago
0.10.1
2 years ago
0.10.0
2 years ago
0.9.4
2 years ago
0.9.3
2 years ago
0.9.2
2 years ago
0.9.0
2 years ago
0.9.1
2 years ago
0.8.8
2 years ago
0.8.7
2 years ago
0.8.5
2 years ago
0.8.6
2 years ago
0.8.4
2 years ago