Bug fixing added moving torrents after download, getting ready for alpha release

This commit is contained in:
2018-01-19 17:54:50 -05:00
parent 06e9317c9a
commit a310d64ce4
1290 changed files with 70172 additions and 46954 deletions

View File

@@ -0,0 +1,16 @@
You can programmatically invoke default OS file prompt. In order to do that you'll have to set the ref on your `Dropzone` instance and call the instance `open` method.
```
let dropzoneRef;
<div>
<Dropzone ref={(node) => { dropzoneRef = node; }} onDrop={(accepted, rejected) => { alert(accepted) }}>
<p>Drop files here.</p>
</Dropzone>
<button type="button" onClick={() => { dropzoneRef.open() }}>
Open File Dialog
</button>
</div>
```
The completion handler for the `open` function is also the `onDrop` function.