Optional
isIf true
drag listeners are disabled.
Optional
onA handler that is called when a user is actively dragging an element.
An info about the current drag frame.
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.
An info about the current drag frame.
Optional
onA handler that is called when a user starts to drag an element.
An info about the current drag frame.
Props of the useDrag hook.