csvbox-react-test

1.1.1 • Public • Published

@csvbox/react

React adapter for csvbox.io

NPM JavaScript Style Guide

Shell

npm install @csvbox/react

Import

import { CSVBoxButton } from '@csvbox/react'

Usage

<CSVBoxButton
  licenseKey="Sheet license key"
  user={{
    user_id: "default123"
  }}
  onImport={(result, data) => {
    if(result){
      console.log("success");
      console.log(data.row_success + " rows uploaded");
      //custom code
    }else{
      console.log("fail");
      //custom code
    }
  }}
>
  Import
</CSVBoxButton>

Readme

For usage see the guide here - https://help.csvbox.io/getting-started#2-install-code

License

MIT © csvbox-io

Package Sidebar

Install

npm i csvbox-react-test

Weekly Downloads

1

Version

1.1.1

License

MIT

Unpacked Size

53.1 kB

Total Files

6

Last publish

Collaborators

  • aniketrane