yoembed
Version:
Sdk to embed the yobulk csv uploader
34 lines (23 loc) • 736 B
Markdown
#### Notes
yoembed is a reack SDK.
Any react app can integrate the yoembed sdk into their application and create an embeddable import button.
Please look into the sample Importer App to know about the usage of yoembed-react-sdk.
## Install
- Using NPM
```bash
npm i yoembed
```
- Using Yarn
```bash
yarn add yoembed
```
The yoembed-react-sdk connects the YoBulk backend and data engine to the react app through the
`yoHostUrl` and `importerId` variables passed to yoembed-react-sdk. The button name is configured through `btnText` property
```javascript
import { YoButton } from "yoembed";
<YoButton
btnText="Import CSV"
importerId={configId}
yoHostUrl={"http://localhost:3000"}
/>;
```