@csvbox/react
v1.1.11
Published
React adapter for csvbox.io
Downloads
54,477
Readme
@csvbox/react
React adapter for csvbox.io
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