We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 121632b commit f1f1e5dCopy full SHA for f1f1e5d
README.md
@@ -30,11 +30,13 @@ import { useDropzone } from 'vue3-dropzone'
30
export default {
31
name: 'UseDropzoneDemo',
32
setup() {
33
- const {
34
- getRootProps,
35
- getInputProps,
36
- ...rest
37
- } = useDropzone(options)
+ function onDrop(acceptFiles, rejectReasons) {
+ console.log(acceptFiles)
+ console.log(rejectReasons)
+ }
+
38
+ const { getRootProps, getInputProps, ...rest } = useDropzone({ onDrop })
39
40
return {
41
getRootProps,
42
getInputProps,
0 commit comments