Skip to main content

RuleGroupDnD()

RuleGroupDnD(props): Element

Rule group component for drag-and-drop. Renders the provided rule group component (RuleGroup by default), but forwards the drag-and-drop context so that child rules and groups will render within the appropriate drag-and-drop wrappers.

Parameters

ParameterType
propsRuleGroupProps<FullOption<string>, string>

Returns

Element

Defined in

packages/dnd/src/RuleGroupDnD.tsx:22


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.