DRAG AND EVENT
" import { DragEndEvent } from "@dnd-kit/core"; " isnt working in my code, it s showing Cannot find module '@dnd-kit/core' or its corresponding type declarations.
2 Replies
Hi @venom. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
I'm sorry, but the information provided in the knowledge sources does not include any references to the
@dnd-kit/core
module or the DragEndEvent
. The sources mainly discuss the react-dnd
library for implementing drag-and-drop functionality in a Refine project.
If you're working with Refine and want to implement drag-and-drop functionality, you might want to consider using the react-dnd
library as described in the React Draggable Components with React DND (https://refine.dev/blog/react-draggable-components-with-react-dnd) blog post.
If you're specifically looking to use @dnd-kit/core
, I would recommend checking the official documentation or the relevant package source for the correct usage and import statements.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------<@1090629145681215550> kapa.ai is still learning and improving, please let us know how it did by reacting below