on Sun May 17 2020
https://developers.google.com/drive/api/v3/picker
I made this library to try and solve a bit more of the file picker flow, while providing a bit more simplicity with use. React drive can automatically pull down any selected files as blobs or download them directly to the user’s machine (as well as passing the drive docs if needed).
Examples and docs in the readme. Feel free to add any issues/feature requests in the repo.
There’s only one existing library that’s similar to this and it doesn’t really have any smarts around post-file selection. It also exposes a lot of props that really aren’t needed in my opinion.
Currently not pushed to NPM because of a 24 hour timeout (mistake in the first version and unpublished), but will be up tomorrow. If you want to test, you can use yarn add alexgurr/react-drive#master
.
from React Drive – A react wrapper around the Google Drive Picker https://ift.tt/2TfyJfz