DndContextValue
Defined in: packages/react/src/ui/dnd/DndProvider.tsx:16
Properties
Section titled “Properties”accordionStateRef
Section titled “accordionStateRef”accordionStateRef:
RefObject<Map<string,boolean>>
Defined in: packages/react/src/ui/dnd/DndProvider.tsx:27
Accordion open/closed state per stable key. Map<stableKey, boolean>.
For a group inside an array item: the item’s stored id plus the group’s
path below that item. Otherwise: the field name. Lives above every form
scroller, so open state survives the edit view swapping scrollers when
the live preview opens or closes.
activeDroppableId
Section titled “activeDroppableId”activeDroppableId:
string|null
Defined in: packages/react/src/ui/dnd/DndProvider.tsx:19
The droppableId that currently owns the active drag, or null when idle.
mounted
Section titled “mounted”mounted:
boolean
Defined in: packages/react/src/ui/dnd/DndProvider.tsx:29
Whether the DnD is mounted on the client (false on server).
register
Section titled “register”register: (
id,handler) => () =>void
Defined in: packages/react/src/ui/dnd/DndProvider.tsx:17
Parameters
Section titled “Parameters”string
handler
Section titled “handler”(from, to) => void
Returns
Section titled “Returns”() => void