react-sage icon indicating copy to clipboard operation
react-sage copied to clipboard

where is onChange event on use-file-picker

Open bewithme opened this issue 4 years ago • 1 comments

where is onChange event on use-file-picker ?

bewithme avatar Jan 10 '22 09:01 bewithme

perhaps a look at the demo code helps:

https://github.com/meinstein/react-sage/blob/master/docs/hooks/useFilePicker/demo.tsx

the files key returned by the hook will contain any successfully picked files.

meinstein avatar Jan 10 '22 10:01 meinstein