RuleProps<F extends string = string, O extends string = string>
Defined in: packages/react-querybuilder/src/types/props.ts:802
Rule props.
Extends
CommonRuleAndGroupProps<FullOption<F>,O>.Partial<UseRuleDnD>
Extended by
Type Parameters
| Type Parameter | Default type |
|---|---|
F extends string | string |
O extends string | string |
Properties
actions
actions:
QueryActions
Defined in: packages/react-querybuilder/src/types/props.ts:728
Inherited from
CommonRuleAndGroupProps.actions
context?
optionalcontext?:any
Defined in: packages/react-querybuilder/src/types/props.ts:733
Inherited from
CommonRuleAndGroupProps.context
disabled?
optionaldisabled?:boolean
Defined in: packages/react-querybuilder/src/types/props.ts:729
Inherited from
CommonRuleAndGroupProps.disabled
dndRef?
optionaldndRef?:Ref<HTMLDivElement>
Defined in: packages/react-querybuilder/src/types/props.ts:787
Inherited from
dragHandleAttributes?
optionaldragHandleAttributes?:HTMLAttributes<HTMLElement>
Defined in: packages/react-querybuilder/src/types/props.ts:789
Props to spread onto the drag handle element (ARIA attributes, listeners).
Inherited from
UseRuleDnD.dragHandleAttributes
dragMonitorId?
optionaldragMonitorId?:string|symbol
Defined in: packages/react-querybuilder/src/types/props.ts:783
Inherited from
dragRef?
optionaldragRef?:Ref<HTMLSpanElement>
Defined in: packages/react-querybuilder/src/types/props.ts:786
Inherited from
dropEffect?
optionaldropEffect?:DropEffect
Defined in: packages/react-querybuilder/src/types/props.ts:791
"move" by default; "copy" if the modifier key is pressed.
Inherited from
dropMonitorId?
optionaldropMonitorId?:string|symbol
Defined in: packages/react-querybuilder/src/types/props.ts:785
Inherited from
dropNotAllowed?
optionaldropNotAllowed?:boolean
Defined in: packages/react-querybuilder/src/types/props.ts:794
Inherited from
field?
optionalfield?:string
Defined in: packages/react-querybuilder/src/types/props.ts:808
Deprecated
Use the field property of the rule prop instead
groupItems?
optionalgroupItems?:boolean
Defined in: packages/react-querybuilder/src/types/props.ts:793
True if the dragged and hovered items should form a new group.
Inherited from
id?
optionalid?:string
Defined in: packages/react-querybuilder/src/types/props.ts:722
Inherited from
CommonRuleAndGroupProps.id
isDragging?
optionalisDragging?:boolean
Defined in: packages/react-querybuilder/src/types/props.ts:782
Inherited from
isOver?
optionalisOver?:boolean
Defined in: packages/react-querybuilder/src/types/props.ts:784
Inherited from
operator?
optionaloperator?:string
Defined in: packages/react-querybuilder/src/types/props.ts:812
Deprecated
Use the operator property of the rule prop instead
parentDisabled?
optionalparentDisabled?:boolean
Defined in: packages/react-querybuilder/src/types/props.ts:724
Inherited from
CommonRuleAndGroupProps.parentDisabled
parentMuted?
optionalparentMuted?:boolean
Defined in: packages/react-querybuilder/src/types/props.ts:725
Inherited from
CommonRuleAndGroupProps.parentMuted
path
path:
Path
Defined in: packages/react-querybuilder/src/types/props.ts:723
Inherited from
CommonRuleAndGroupProps.path
rule
rule:
RuleType<F,O>
Defined in: packages/react-querybuilder/src/types/props.ts:804
schema
schema:
Schema<{[key:string]:unknown;disabled?:boolean;label:string;name:F;value:F; },O>
Defined in: packages/react-querybuilder/src/types/props.ts:727
Inherited from
CommonRuleAndGroupProps.schema
shiftDownDisabled?
optionalshiftDownDisabled?:boolean
Defined in: packages/react-querybuilder/src/types/props.ts:731
Inherited from
CommonRuleAndGroupProps.shiftDownDisabled
shiftUpDisabled?
optionalshiftUpDisabled?:boolean
Defined in: packages/react-querybuilder/src/types/props.ts:730
Inherited from
CommonRuleAndGroupProps.shiftUpDisabled
translations
translations:
Translations
Defined in: packages/react-querybuilder/src/types/props.ts:726
Inherited from
CommonRuleAndGroupProps.translations
value?
optionalvalue?:any
Defined in: packages/react-querybuilder/src/types/props.ts:817
Deprecated
Use the value property of the rule prop instead
valueSource?
optionalvalueSource?:ValueSource
Defined in: packages/react-querybuilder/src/types/props.ts:821
Deprecated
Use the valueSource property of the rule prop instead
API documentation is generated from the latest commit on the main branch. It may be somewhat inconsistent with official releases of React Query Builder.