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.
document
1 parent fac58f0 commit 21fa652Copy full SHA for 21fa652
packages/core/useDropZone/index.ts
@@ -31,7 +31,7 @@ export interface UseDropZoneOptions {
31
}
32
33
export function useDropZone(
34
- target: MaybeRefOrGetter<HTMLElement | null | undefined>,
+ target: MaybeRefOrGetter<HTMLElement | Document | null | undefined>,
35
options: UseDropZoneOptions | UseDropZoneOptions['onDrop'] = {},
36
): UseDropZoneReturn {
37
const isOverDropZone = shallowRef(false)
0 commit comments