styleguide
styleguide copied to clipboard
Not passing all possible props to ReactDropzone
Describe the bug
That's it. I cannot be able to pass, for example, minSize
and maxSize
to the ReactDropzone
via Styleguide.
To Reproduce
Try to use any of the ReactDropzone validations
Expected behavior
Validate minSize
, maxSize
and others.
Screenshots
Styleguide
Dropzone
When @kevinch created this component, it was just to meet the need in that context. I already needed some features that I don't have either:
- a list of file types that are supported
- max file size
- event for when the file is removed
which are you currently needing @estacioneto?
There is an event for when the file is removed 🤔 (onFileReset
). Anyway, I need a max file size verification (also the type checking would be great).
I said wrong, sorry. I meant that I need an event to remove the files. Because currently it is only possible to remove files if you click the button.
It would be possible if the file list was handled outside the component. And it would be great, actually 😅