Releases: react-dropzone/react-dropzone
Releases Β· react-dropzone/react-dropzone
v14.2.3
v14.2.2
v14.2.1
v14.2.0
v14.1.2
v14.1.1
v14.1.0
v14.0.1
v14.0.0
v13.0.0
13.0.0 (2022-04-30)
Features
- add {onError} cb to allow users to handle errors (9134893)
- allow passing file ext. to the file picker options and close #1141 (58976f4)
BREAKING CHANGES
- The
{accept}
prop will now require an object instead of a string or array of strings:
Before:
useDropzone({
accept: ".jpeg,.png"
// accept: [".jpeg", ".png"]
})
After:
useDropzone({
accept: {
"image/*": [".jpeg", ".png"]
}
})