Releases
0.3.0
v0.3.0
Changes
General:
added eslint and fix all eslint warnings and errors
added test cases with jest (incomplete)
added debug messages with prefx react-file-uploader:
with debug
removed invalid use of peerDependencies
updated basic example to adpoted changes in v0.3.0
updated ReadMe
Receiver:
will throw invariant error if browser does not support DragEvent or DataTransfer
onFileDrop will apply e
rather than e.target
at the first argument
UploadManager:
accepts component
props in string to customize wrapper element
accepts uploadErrorHandler
props function to customize the error
& result
for superagent.end
method
accepts uploadHeader
props which will be set as superagent request header
uses lodash.assign
instead of lodash.merge
for better performance
UploadHandler:
accepts component
props in string to customize wrapper element
no longer provides default template if no children
is provided
You can’t perform that action at this time.