Skip to content

Commit cca750c

Browse files
feat: export DraggableEvent
1 parent 68c549f commit cca750c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/useDraggable.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ function getCurrentData() {
7373

7474
const CLONE_ELEMENT_KEY = Symbol('cloneElement')
7575

76-
interface DraggableEvent<T = any> extends SortableEvent {
76+
export interface DraggableEvent<T = any> extends SortableEvent {
7777
item: HTMLElement & { [CLONE_ELEMENT_KEY]: any }
7878
data: T
7979
clonedData: T

0 commit comments

Comments
 (0)