KarimMokhtar / react-drag-drop-files

Light and simple Reactjs drag and drop files library to use with very flexible options to change, so you put whatever the design you want for your drop-area. Users can drag and drop or even select the file anywhere in the window.
MIT License
245 stars 86 forks source link

Reset file value #70

Closed dar-gol closed 2 years ago

dar-gol commented 2 years ago

When I upload image, I don't know how I can remove the success view (Uploaded Successfully!)

image

irawanfirmansyah commented 2 years ago

When I upload image, I don't know how I can remove the success view (Uploaded Successfully!)

image

You can customize the component by wrapping your custom component with FileUploader. Something like this:

<FileUploader>
    . . . custom component goes here
</FileUploader>
dar-gol commented 2 years ago

Okay, yes this works :) Thanks for answer 👍