Skip to main content

useReactDndWarning()

useReactDndWarning(enableDragAndDrop, dndRefs): void

Logs a warning if drag-and-drop is enabled but the required dependencies (react-dnd and react-dnd-html5-backend) were not detected.

Parameters

ParameterType
enableDragAndDropboolean
dndRefsboolean

Returns

void

Defined in

packages/react-querybuilder/src/hooks/useReactDndWarning.ts:9


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.