Skip to main content

QueryBuilderDndProps

QueryBuilderDndProps: QueryBuilderContextProviderProps & { dnd: UseReactDnD; canDrop: boolean; }

Defined in: packages/dnd/src/types.ts:27

QueryBuilderDnD props.

Type declaration

dnd?

optional dnd: UseReactDnD

Provide this prop if enableDragAndDrop is true for the child element and you want the component to render immediately with drag-and-drop enabled. Otherwise, the component will asynchronously load react-dnd and react-dnd-html5-backend and drag-and-drop features will only be enabled once those packages have loaded.

canDrop()?

Parameters

ParameterType
paramsCustomCanDropParams

Returns

boolean


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.