DndContextValue
Defined in: packages/react/src/components/ui/dnd/DndProvider.tsx:16
Properties
Section titled “Properties”accordionStateRef
Section titled “accordionStateRef”accordionStateRef:
RefObject<Map<string,boolean>>
Defined in: packages/react/src/components/ui/dnd/DndProvider.tsx:33
Accordion open/closed state per stable key. Map<stableKey, boolean>.
For array-item group fields: stableKey is the slot UUID from itemStableKeysRef.
For top-level group fields: stableKey is the field name.
Lives outside
activeDroppableId
Section titled “activeDroppableId”activeDroppableId:
string|null
Defined in: packages/react/src/components/ui/dnd/DndProvider.tsx:19
The droppableId that currently owns the active drag, or null when idle.
itemStableKeysRef
Section titled “itemStableKeysRef”itemStableKeysRef:
RefObject<Map<string, (string|undefined)[]>>
Defined in: packages/react/src/components/ui/dnd/DndProvider.tsx:26
Stable UUID slots per droppable. Map<droppableId, UUID[]>.
One UUID per array item slot. Shifted by moveItemStableKey on each drag to
mirror TanStack Form’s moveValue — so a UUID follows its item across reorders.
Lives outside
mounted
Section titled “mounted”mounted:
boolean
Defined in: packages/react/src/components/ui/dnd/DndProvider.tsx:35
Whether the DnD is mounted on the client (false on server).
register
Section titled “register”register: (
id,handler) => () =>void
Defined in: packages/react/src/components/ui/dnd/DndProvider.tsx:17
Parameters
Section titled “Parameters”string
handler
Section titled “handler”(from, to) => void
Returns
Section titled “Returns”() => void