useFilePicker
useFilePicker copied to clipboard
Simple react hook to open browser file selector.
Hi, I'm learning React. I used useFilePicker in my learning react project. However still struggling how to do unit test for this component. Mock files always fails. Do you any...
This PR adds a functionality of selecting the whole directory as an input in file picker with use of experimental webkitdirectory property. An initial version of this was proposed and...
I use the "openFilePicker" function in my callback, and pass this callback to useEffect, and since "openFilePicker" is not wrapped in useCallback, the function constantly changes and triggers my useEffect,...
My component uses useFilePicker which works nicely with files in local filesystem (Downloads folder). But, when I try selecting a file from a ssh mounted filesystem it is silently ignored,...
Hi there, I really enjoy using your file picker. Would it be possible to add the ability to select folders and get their respective content? Thank you.
fix for #97