Focus file add on.
npm install focus-files-updatedFocus file
=====================
Focus file addon. Uses DropzoneJS.
npm i -D focus-files-updated@latest
`
If your running on brunchJs, don't forget to copy the downloaded script to your vendor folder.
Once correctly added, the component will be available on the window as FocusFile.
$3
`jsx
`
$3
The component uses internally a store, fed with all the files dropped in the file upload, whatever the upload status was.
You can access this store with refToYourFocusFileComponent.props.store.
$3
If you want to catch DropzoneJS events, you can access the Dropzone object through refToYourFocusFileComponent.dropzone`.