files-ui / files-ui-react

UI components for file uploads with React js. Files UI is a complete library for handling files in the UI. You can validate and upload them. Multilanguage. Server side support.
https://www.files-ui.com
MIT License
46 stars 9 forks source link

Have a few suggestions #22

Open xqb0407 opened 1 year ago

xqb0407 commented 1 year ago

1.You want ref to be able to invoke the component default event for upload 2.You can customize the button to trigger the upload, and then add the upload progress 3.I want fakeUpload to be able to customize the upload status, progress, etc. I want every upload to be successful, not random upload success.

JinSSJ3 commented 1 year ago

Hey @xqb0407 ! Thanks for the suggestions!!

We've already addded the 3rd one. We will include a prop to define the behaviour for fakeUpload. (e.g. all uploads will end in success, error or random status)

About the first and second items. Do you mind giving us a further detail about those points?