Skip to main content

DndAdapterProviderProps

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

Props for the adapter's DnD context provider component.

Properties

children

children: ReactNode

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


copyModeAfterHoverMs?

optional copyModeAfterHoverMs?: number

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

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


debugMode?

optional debugMode?: boolean

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


groupModeAfterHoverMs?

optional groupModeAfterHoverMs?: number

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

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:118

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.