Rule
The Rule component represents individual query conditions. It calls the useRule hook to prepare props for its subcomponents.
Subcomponents
By default, subcomponents are rendered by RuleComponents. When a rule's field has a matchModes property that evaluates to an array with one or more elements, RuleComponentsWithSubQuery is used instead.
RuleComponents
Renders these components in order within a React.Fragment:
- Shift actions1
- Drag handle2
- Field selector
- Operator selector3
- Value source selector4 5
- Value editor5
- Clone rule button6
- Lock rule button7
- Remove rule button
RuleComponentsWithSubQuery
Renders these components in order within a React.Fragment:
- Shift actions1
- Drag handle2
- Field selector
- Match mode editor
- Rule group header components8
- Clone rule button6
- Lock rule button7
- Remove rule button
- Rule group body components8