react-dropbox-saver
v1.0.1
Published
Made with create-react-library
Readme
React dropbox saver
Simple react wrapper for Dropbox saver API
Installation
npm install react-dropbox-saverUsage
files =
[
// You can specify up to 100 files.
{'url': '...', 'filename': '...'},
{'url': '...', 'filename': '...'},
// ...
]
<DropboxSaver
appKey={'your-uniq-app-key'}
success={files => this.onSuccess(files)}
cancel={() => this.onCancel()}
progress={(progress)=>this.onProgress(progress)}
error={(err)=this.Onerror(err)}
files={files}
</DropboxSaver>