Skip to main content

Interface: RuleProps<F, O>

react-querybuilder.RuleProps

Rule props.

Type parameters

NameType
Fextends string = string
Oextends string = string

Hierarchy

Properties

actions

actions: QueryActions

Inherited from

CommonRuleAndGroupProps.actions

Defined in

packages/react-querybuilder/src/types/propsUsingReact.ts:368


context

Optional context: any

Inherited from

CommonRuleAndGroupProps.context

Defined in

packages/react-querybuilder/src/types/propsUsingReact.ts:373


disabled

Optional disabled: boolean

Inherited from

CommonRuleAndGroupProps.disabled

Defined in

packages/react-querybuilder/src/types/propsUsingReact.ts:369


dndRef

Optional dndRef: Ref<HTMLDivElement>

Inherited from

Partial.dndRef

Defined in

packages/react-querybuilder/src/types/propsUsingReact.ts:421


dragMonitorId

Optional dragMonitorId: string | symbol

Inherited from

Partial.dragMonitorId

Defined in

packages/react-querybuilder/src/types/propsUsingReact.ts:417


dragRef

Optional dragRef: Ref<HTMLSpanElement>

Inherited from

Partial.dragRef

Defined in

packages/react-querybuilder/src/types/propsUsingReact.ts:420


dropEffect

Optional dropEffect: DropEffect

"move" by default; "copy" if the modifier key is pressed.

Inherited from

Partial.dropEffect

Defined in

packages/react-querybuilder/src/types/propsUsingReact.ts:423


dropMonitorId

Optional dropMonitorId: string | symbol

Inherited from

Partial.dropMonitorId

Defined in

packages/react-querybuilder/src/types/propsUsingReact.ts:419


field

Optional field: string

Deprecated

Use the field property of the rule prop instead

Defined in

packages/react-querybuilder/src/types/propsUsingReact.ts:436


id

Optional id: string

Inherited from

CommonRuleAndGroupProps.id

Defined in

packages/react-querybuilder/src/types/propsUsingReact.ts:363


isDragging

Optional isDragging: boolean

Inherited from

Partial.isDragging

Defined in

packages/react-querybuilder/src/types/propsUsingReact.ts:416


isOver

Optional isOver: boolean

Inherited from

Partial.isOver

Defined in

packages/react-querybuilder/src/types/propsUsingReact.ts:418


operator

Optional operator: string

Deprecated

Use the operator property of the rule prop instead

Defined in

packages/react-querybuilder/src/types/propsUsingReact.ts:440


parentDisabled

Optional parentDisabled: boolean

Inherited from

CommonRuleAndGroupProps.parentDisabled

Defined in

packages/react-querybuilder/src/types/propsUsingReact.ts:365


path

path: Path

Inherited from

CommonRuleAndGroupProps.path

Defined in

packages/react-querybuilder/src/types/propsUsingReact.ts:364


rule

rule: RuleType<F, O, any, string>

Defined in

packages/react-querybuilder/src/types/propsUsingReact.ts:432


schema

schema: Schema<FullOption<F>, O>

Inherited from

CommonRuleAndGroupProps.schema

Defined in

packages/react-querybuilder/src/types/propsUsingReact.ts:367


shiftDownDisabled

Optional shiftDownDisabled: boolean

Inherited from

CommonRuleAndGroupProps.shiftDownDisabled

Defined in

packages/react-querybuilder/src/types/propsUsingReact.ts:371


shiftUpDisabled

Optional shiftUpDisabled: boolean

Inherited from

CommonRuleAndGroupProps.shiftUpDisabled

Defined in

packages/react-querybuilder/src/types/propsUsingReact.ts:370


translations

translations: Translations

Inherited from

CommonRuleAndGroupProps.translations

Defined in

packages/react-querybuilder/src/types/propsUsingReact.ts:366


value

Optional value: any

Deprecated

Use the value property of the rule prop instead

Defined in

packages/react-querybuilder/src/types/propsUsingReact.ts:445


valueSource

Optional valueSource: ValueSource

Deprecated

Use the valueSource property of the rule prop instead

Defined in

packages/react-querybuilder/src/types/propsUsingReact.ts:449