QueryBuilderDndProps
QueryBuilderDndProps:
QueryBuilderContextProviderProps& {dnd:UseReactDnD;canDrop:boolean; }
QueryBuilderDnD props.
Type declaration
dnd?
optionaldnd: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
| Parameter | Type |
|---|---|
params | CustomCanDropParams |
Returns
boolean
Defined in
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.