Skip to main content

RuleProps<F, O>

Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:452

Rule props.

Extends

Type Parameters

Type ParameterDefault type
F extends stringstring
O extends stringstring

Properties

actions

actions: QueryActions

Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:391

Inherited from

CommonRuleAndGroupProps.actions


context?

optional context: any

Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:396

Inherited from

CommonRuleAndGroupProps.context


disabled?

optional disabled: boolean

Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:392

Inherited from

CommonRuleAndGroupProps.disabled


dndRef?

optional dndRef: Ref<HTMLDivElement>

Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:444

Inherited from

Partial.dndRef


dragMonitorId?

optional dragMonitorId: string | symbol

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

Inherited from

Partial.dragMonitorId


dragRef?

optional dragRef: Ref<HTMLSpanElement>

Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:443

Inherited from

Partial.dragRef


dropEffect?

optional dropEffect: DropEffect

Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:446

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

Inherited from

Partial.dropEffect


dropMonitorId?

optional dropMonitorId: string | symbol

Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:442

Inherited from

Partial.dropMonitorId


field?

optional field: string

Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:459

Deprecated

Use the field property of the rule prop instead


id?

optional id: string

Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:386

Inherited from

CommonRuleAndGroupProps.id


isDragging?

optional isDragging: boolean

Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:439

Inherited from

Partial.isDragging


isOver?

optional isOver: boolean

Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:441

Inherited from

Partial.isOver


operator?

optional operator: string

Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:463

Deprecated

Use the operator property of the rule prop instead


parentDisabled?

optional parentDisabled: boolean

Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:388

Inherited from

CommonRuleAndGroupProps.parentDisabled


path

path: Path

Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:387

Inherited from

CommonRuleAndGroupProps.path


rule

rule: RuleType<F, O>

Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:455


schema

schema: Schema<{ [key: string]: unknown; disabled: boolean; label: string; name: F; value: F; }, O>

Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:390

Inherited from

CommonRuleAndGroupProps.schema


shiftDownDisabled?

optional shiftDownDisabled: boolean

Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:394

Inherited from

CommonRuleAndGroupProps.shiftDownDisabled


shiftUpDisabled?

optional shiftUpDisabled: boolean

Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:393

Inherited from

CommonRuleAndGroupProps.shiftUpDisabled


translations

translations: Translations

Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:389

Inherited from

CommonRuleAndGroupProps.translations


value?

optional value: any

Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:468

Deprecated

Use the value property of the rule prop instead


valueSource?

optional valueSource: ValueSource

Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:472

Deprecated

Use the valueSource property of the rule prop instead


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.