Is it possible to take advantage of Data's generic parameter?
#1824
Unanswered
alexeyr-ci2
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently we have
dnd-kit/packages/core/src/store/types.ts
Lines 22 to 24 in e9215e8
But the other interfaces (
Active,Over, etc.) all use simplyDataRefinstead ofDataRef<T>. Is there some way to specify the type of data withuseDraggable/useDroppable/useSortable?Beta Was this translation helpful? Give feedback.
All reactions