Optional
isIf true
drag listeners are disabled.
Optional
onA handler that is called when a user is actively dragging an element.
Optional
onA handler that is called when the drag state changes.
true
if an element is dragged.
Optional
onA handler that is called when a user stops dragging an element.
Optional
onA handler that is called when a user starts to drag an element.
Props of the useDrag hook.