useReactDndWarning()
useReactDndWarning(
enableDragAndDrop:boolean,dndRefs:boolean):void
Defined in: packages/react-querybuilder/src/hooks/useReactDndWarning.ts:12
Logs a warning if drag-and-drop is enabled but the required dependencies
(react-dnd and either react-dnd-html5-backend or react-dnd-touch-backend)
were not detected.
Parameters
| Parameter | Type |
|---|---|
enableDragAndDrop | boolean |
dndRefs | boolean |
Returns
void
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.