UNPKG

@minoru/react-dnd-treeview

Version:

A draggable / droppable React-based treeview component.

6 lines (5 loc) 267 B
/** * This is a hook to allow text selection by mouse in the text input area in a node. * Temporarily disables node dragging while the pointer is over the text input area. */ export declare const useDragControl: (ref: React.RefObject<HTMLElement | null>) => void;