JSPM

react-demoish

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q11832F
  • License MIT

React adapter for csvbox.io

Package Exports

  • react-demoish
  • react-demoish/dist/index.js
  • react-demoish/dist/index.modern.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-demoish) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@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