Usage
TheuseDroppable hook requires a unique id and returns a ref callback.
Input
A unique identifier for this droppable instance.
The types of draggable elements this droppable accepts.
The type of this droppable element.
A custom collision detection algorithm.
Whether the droppable is disabled.
Custom data to attach to this droppable instance.
Output
A callback ref to attach to the droppable element.
Whether this element is currently a drop target. Call as
isDropTarget() in JSX.The underlying
Droppable instance.