Skip to main content

RuleDnD()

RuleDnD(props): Element

Rule component for drag-and-drop. Renders the provided rule component (Rule by default), but forwards the drag-and-drop context.

Parameters

ParameterType
propsRuleProps<string, string>

Returns

Element

Defined in

packages/dnd/src/RuleDnD.tsx:21


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.