Optionalchildren?: ComponentContent rendered inside the handle.
OptionalclassName?: stringOptional CSS class applied to the wrapper element.
A .dragging class will be also applied when dragging.
Optionaldata?: anyArbitrary user data passed through callbacks.
OptionalonDelta?: (x: number, y: number, data: any) => voidCalled when the drag position changes.
OptionalonEnd?: (event: "up" | "cancel", data: any) => voidCalled when the drag ends or is cancelled.
OptionalonStart?: (data: any) => voidCalled when the drag begins.
Optionalstyle?: objectOptional style applied to the wrapper element.
DragHandle - helper component to wire up drag interactions.
This component does not implement dragging/movement itself. Instead, it listens for drag gesture events and delegates them to the provided callbacks.