LogoRobo.js
Packages@robojs/sync

SyncDraggableRenderProps<T>

Interface: SyncDraggableRenderProps<T>

Render props for SyncDraggable children.

Type Parameters

Type Parameter
T extends DragState

Properties

PropertyTypeDescription
canInteractbooleanWhether current client can interact
isBeingDraggedbooleanWhether anyone is dragging
isDraggingbooleanWhether current client is dragging
stateTCurrent state (position and custom data)

On this page