Skip to content

Commit

Permalink
Update packages/core/useDropZone/index.md
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed May 31, 2022
1 parent 57e11fc commit 97c2a23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/useDropZone/index.md
Expand Up @@ -18,12 +18,12 @@ function onDrop(dropZoneRef, files: File[] | null) {
// Trigger an event when file(s) is drop on zone
}
const { isOverDropZone } = useDropZone(onDrop)
const { isOverDropZone } = useDropZone(dropZoneRef, onDrop)
</script>

<template>
<div ref="dropZoneRef">
Drop files here
</div>
</template>
</script>
```

0 comments on commit 97c2a23

Please sign in to comment.