dnd-kit icon indicating copy to clipboard operation
dnd-kit copied to clipboard

DragStartEvent not exposed in experimental versions

Open mattrunyon opened this issue 2 months ago • 1 comments

Docs show a DragStartEvent like the core version https://next.dndkit.com/react/components/drag-drop-provider#param-on-drag-start

However, these types are not exposed. They are indirectly exposed via a (seemingly very complex) generic type DragDropEvents['dragStart']

I think the individual event types should be exposed as they were before and/or the event handler function types that include both params.

mattrunyon avatar Nov 12 '25 23:11 mattrunyon

Feel free to submit a PR, would gladly accept it. Will get to it when I can otherwise.

clauderic avatar Nov 13 '25 00:11 clauderic