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"]
}
})