QueryBuilderContextProps<F, O>
Props passed down through context from a QueryBuilderContextProvider.
Type Parameters
Type Parameter |
---|
F extends FullField |
O extends string |
Properties
controlClassnames?
optional
controlClassnames:Partial
<Classnames
>
This can be used to assign specific CSS classes to various controls that are rendered by QueryBuilder.
Defined in
packages/react-querybuilder/src/types/propsUsingReact.ts:494
controlElements?
optional
controlElements:Partial
<{actionElement
:ComponentType
<ActionProps
>;addGroupAction
:null
|ComponentType
<ActionWithRulesAndAddersProps
>;addRuleAction
:null
|ComponentType
<ActionWithRulesAndAddersProps
>;cloneGroupAction
:null
|ComponentType
<ActionWithRulesProps
>;cloneRuleAction
:null
|ComponentType
<ActionProps
>;combinatorSelector
:null
|ComponentType
<CombinatorSelectorProps
>;dragHandle
:null
|ForwardRefExoticComponent
<DragHandleProps
&RefAttributes
<HTMLElement
>>;fieldSelector
:null
|ComponentType
<FieldSelectorProps
<F
>>;inlineCombinator
:null
|ComponentType
<InlineCombinatorProps
>;lockGroupAction
:null
|ComponentType
<ActionWithRulesProps
>;lockRuleAction
:null
|ComponentType
<ActionWithRulesProps
>;notToggle
:null
|ComponentType
<NotToggleProps
>;operatorSelector
:null
|ComponentType
<OperatorSelectorProps
>;removeGroupAction
:null
|ComponentType
<ActionWithRulesProps
>;removeRuleAction
:null
|ComponentType
<ActionProps
>;rule
:ComponentType
<RuleProps
<string
,string
>>;ruleGroup
:ComponentType
<RuleGroupProps
<F
,O
>>;ruleGroupBodyElements
:ComponentType
<RuleGroupProps
<FullOption
<string
>,string
> &Omit
<RuleGroupProps
<FullOption
<string
>,string
>,"ruleGroup"
> &object
>;ruleGroupHeaderElements
:ComponentType
<RuleGroupProps
<FullOption
<string
>,string
> &Omit
<RuleGroupProps
<FullOption
<string
>,string
>,"ruleGroup"
> &object
>;shiftActions
:null
|ComponentType
<ShiftActionsProps
>;valueEditor
:null
|ComponentType
<ValueEditorProps
<F
,O
>>;valueSelector
:ComponentType
<ValueSelectorProps
<FullOption
<string
>>>;valueSourceSelector
:null
|ComponentType
<ValueSourceSelectorProps
>; }>
Defines replacement components.
Defined in
packages/react-querybuilder/src/types/propsUsingReact.ts:482
debugMode?
optional
debugMode:boolean
Enables debug logging for QueryBuilder (and React DnD when applicable).
Default
false
Defined in
packages/react-querybuilder/src/types/propsUsingReact.ts:511
enableDragAndDrop?
optional
enableDragAndDrop:boolean
Enables drag-and-drop features.
Default
false
Defined in
packages/react-querybuilder/src/types/propsUsingReact.ts:505
enableMountQueryChange?
optional
enableMountQueryChange:boolean
Set to false
to avoid calling the onQueryChange
callback
when the component mounts.
Default
true
Defined in
packages/react-querybuilder/src/types/propsUsingReact.ts:489
translations?
optional
translations:Partial
<Translations
>
This can be used to override translatable texts applied to the various controls that are rendered by QueryBuilder.
Defined in
packages/react-querybuilder/src/types/propsUsingReact.ts:499
API documentation is generated from the latest commit on the main
branch. It may be somewhat inconsistent with official releases of React Query Builder.