A simple dropbox chooser component for react.
yarn add react-dropbox-chooser-component
import DropboxChooser from 'react-dropbox-chooser-component';
// ...
<Chooser
appKey="YOUR_DROPBOX_API_KEY_HERE" // Optional, You do NOT need to provide a key when mounting. Once a key is set, then the component will mount Dropbox
className="dropbox_custom_class" // Optional
extensions={['.jpg']} // Optional
linkType="direct" // Optional, or "preview", defaults to "preview"
multiselect // Optional, defaults false
onCancel={() => {}} // Optional, default noop
onSuccess={(fs) => { console.log(fs); } // Optional, default noop
/>
// ...