Skip to main content

DndAdapterProviderProps

Defined in: dnd/src/adapter.ts:125

Props for the adapter's DnD context provider component.

Properties​

children​

children: ReactNode

Defined in: dnd/src/adapter.ts:143


copyModeAfterHoverMs?​

optional copyModeAfterHoverMs?: number

Defined in: dnd/src/adapter.ts:137

Milliseconds after hovering a drop target before the drop effect automatically switches to "copy".


debugMode?​

optional debugMode?: boolean

Defined in: dnd/src/adapter.ts:126


groupModeAfterHoverMs?​

optional groupModeAfterHoverMs?: number

Defined in: dnd/src/adapter.ts:142

Milliseconds after hovering a drop target before the drop will automatically create a new group.


updateWhileDragging?​

optional updateWhileDragging?: boolean

Defined in: dnd/src/adapter.ts:132

When true, the adapter should enable update-while-dragging behavior: computing a shadow query on hover and committing it on drop instead of using the standard drop-indicator approach.


caution

API documentation is generated from the latest commit on the main branch. It may be somewhat inconsistent with official releases of React Query Builder.