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 5213d8d commit a4d6ba3Copy full SHA for a4d6ba3
src/useDraggable.ts
@@ -115,11 +115,7 @@ export function useDraggable<T>(
115
options?: RefOrValue<UseDraggableOptions<T>>
116
): UseDraggableReturn
117
export function useDraggable<T>(
118
- el: Ref<HTMLElement | null | undefined>,
119
- options?: RefOrValue<UseDraggableOptions<T>>
120
-): UseDraggableReturn
121
-export function useDraggable<T>(
122
- el: null | undefined,
+ el: RefOrElement<HTMLElement | null | undefined>,
123
124
125
0 commit comments