Demo (Documentation)
<IntlProvider locale="en">
<ContentUploader
features={FEATURES}
rootFolderId={FOLDER_ID}
token={TOKEN}
/>
</IntlProvider>| Prop | Type | Default | Description |
|---|---|---|---|
| token* | string | See the developer docs. | |
| isTouch | boolean | See the developer docs. | |
| language | string | See the Internationalization section | |
| logoUrl | string | See the developer docs. | |
| messages | Map<string, string> | See the Internationalization section | |
| onBeforeUpload | function(Array<File>) | Callback function for retrieving an item before it has uploaded on files only, doesn't work on folders | |
| onClickCancel | function | Callback function for canceling a file upload after click | |
| onClickResume | function | Callback function for resuming a file upload after click | |
| onClickRetry | function | Callback function for retrying a file upload after click | |
| onClose | function | Callback function for when the close button is pressed. | |
| onComplete | function(Array<File>) | Callback function for when uploads are complete. | |
| onProgress | function(File) | Callback function for when uploads are in progress. | |
| onResume | function(File) | Callback function for resuming a file upload. | |
| requestInterceptor | function | See the developer docs. | |
| responseInterceptor | function | See the developer docs. | |
| rootFolderId | string | 0 |
The root folder for the content uploader. |
| sharedLink | string | See the developer docs. | |
| sharedLinkPassword | string | See the developer docs. |
