React Embed
Using @impler/react package you can embed CSV Excel Importer into your application with just few lines of code.
Add Script
<script type="text/javascript" src="https://embed.impler.io/embed.umd.min.js" async></script>Install the Package
npm i @impler/react
# or
yarn add @impler/reactAdd Import Button
import { useImpler } from '@impler/react';
const { showWidget, isImplerInitiated } = useImpler({
projectId: "",
templateId: "",
accessToken: "",
});
<button disabled={!isImplerInitiated} onClick={showWidget}>
Import
</button>Customize Texts
Listening for Events
Prop
Type
Description
Usage Example
Applying App's Color Scheme
Data Seeding in Sample File
Providing Runtime Schema
Advanced Validations
Using Typescript
Passing Extra Parameters
Programmatically Closing Import Widget
Changing Import Title
Changing Theme Color
Providing Authentication Header Value
Last updated
Was this helpful?