Function: useDragDrop()
useDragDrop<
TRow>(options):UseDragDropReturn
Defined in: src/tree-editor/use-drag-drop.ts:89
Hook managing drag-and-drop state for tree reparenting.
Validation runs on every onDragOver so the UI can render a “not allowed”
cue. onDrop only executes the move when the combo is valid; an invalid
drop is treated as a no-op (the command itself would also reject it).
Type Parameters
TRow
TRow
Parameters
options
UseDragDropOptions<TRow>