react-dropzone-uploader
react-dropzone-uploader copied to clipboard
Custom uploadFile function
Hi guys and thanks for the great component!
I would like to ask if it is possible to add an ability to completely override the behavior of the uploadFile function? There is a quite complicated upload procedure in my current project; in fact, I use the @azure/storage-blob package to upload files to the cloud and it turns out that a single POST request made by react-dropzone-uploader is not enough to replace all the magic that happens inside the storage-blob package. :-)
Therefore it would be great to have a property for the custom uploadFile function that could be used to implement the specific logic of file uploading. It should be also possible to set the uploading progress and mark the file as successfully uploaded or not uploaded because of an error.
Again - thank you for the component! Best regards.