AntDNotToggleProps
Defined in: packages/antd/src/AntDNotToggle.tsx:9
Extends
NotToggleProps.ComponentPropsWithoutRef<typeofSwitch>
Methods
handleOnChange()
handleOnChange(
checked:boolean):void
Defined in: packages/react-querybuilder/src/types/props.ts:308
Parameters
| Parameter | Type |
|---|---|
checked | boolean |
Returns
void
Inherited from
Properties
autoFocus?
optionalautoFocus:boolean
Defined in: node_modules/antd/es/switch/index.d.ts:32
Inherited from
ComponentPropsWithoutRef.autoFocus
checked?
optionalchecked:boolean
Defined in: packages/react-querybuilder/src/types/props.ts:307
Inherited from
checkedChildren?
optionalcheckedChildren:ReactNode
Defined in: node_modules/antd/es/switch/index.d.ts:28
Inherited from
ComponentPropsWithoutRef.checkedChildren
className?
optionalclassName:string
Defined in: packages/react-querybuilder/src/types/props.ts:74
CSS classNames to be applied.
This is string and not Classname because the Rule
and RuleGroup components run clsx() to produce the className
that gets passed to each subcomponent.
Inherited from
classNames?
optionalclassNames:SwitchClassNamesType
Defined in: node_modules/antd/es/switch/index.d.ts:37
Inherited from
ComponentPropsWithoutRef.classNames
context?
optionalcontext:any
Defined in: packages/react-querybuilder/src/types/props.ts:95
Container for custom props that are passed to all components.
Inherited from
defaultChecked?
optionaldefaultChecked:boolean
Defined in: node_modules/antd/es/switch/index.d.ts:15
Inherited from
ComponentPropsWithoutRef.defaultChecked
defaultValue?
optionaldefaultValue:boolean
Defined in: node_modules/antd/es/switch/index.d.ts:25
Alias for defaultChecked.
Since
5.12.0
Inherited from
ComponentPropsWithoutRef.defaultValue
disabled?
optionaldisabled:boolean
Defined in: packages/react-querybuilder/src/types/props.ts:90
Disables the control.
Inherited from
id?
optionalid:string
Defined in: node_modules/antd/es/switch/index.d.ts:36
Inherited from
ComponentPropsWithoutRef.id
key?
optionalkey:Key|null
Defined in: node_modules/@types/react/index.d.ts:250
Inherited from
ComponentPropsWithoutRef.key
label?
optionallabel:ReactNode
Defined in: packages/react-querybuilder/src/types/props.ts:309
Inherited from
level
level:
number
Defined in: packages/react-querybuilder/src/types/props.ts:82
The level of the current group. Always equal to path.length.
Inherited from
loading?
optionalloading:boolean
Defined in: node_modules/antd/es/switch/index.d.ts:31
Inherited from
ComponentPropsWithoutRef.loading
onChange?
optionalonChange:SwitchChangeEventHandler
Defined in: node_modules/antd/es/switch/index.d.ts:26
Inherited from
ComponentPropsWithoutRef.onChange
onClick?
optionalonClick:SwitchChangeEventHandler
Defined in: node_modules/antd/es/switch/index.d.ts:27
Inherited from
ComponentPropsWithoutRef.onClick
path
path:
Path
Defined in: packages/react-querybuilder/src/types/props.ts:78
Path to this subcomponent's rule/group within the query.
Inherited from
prefixCls?
optionalprefixCls:string
Defined in: node_modules/antd/es/switch/index.d.ts:10
Inherited from
ComponentPropsWithoutRef.prefixCls
rootClassName?
optionalrootClassName:string
Defined in: node_modules/antd/es/switch/index.d.ts:13
Inherited from
ComponentPropsWithoutRef.rootClassName
ruleGroup
ruleGroup:
RuleGroupTypeAny
Defined in: packages/react-querybuilder/src/types/props.ts:310
Inherited from
schema
schema:
Schema<{[key:string]:unknown;className?:Classname;comparator?:string| (f: { [x: string]: unknown; label: string; disabled?: boolean | undefined; name: string; value: string; id?: string | undefined; operators?: FlexibleOptionList<{ [x: string]: unknown; label: string; disabled?: boolean | undefined; name: string; value: string; }> | string[] | FlexibleOption<...>[] | (string | FlexibleOpt...,operator:string) =>boolean;defaultOperator?:string;defaultValue?:any;disabled?:boolean;id?:string;inputType?:InputType|null;label:string;matchModes?:boolean|MatchMode[] |FlexibleOption<MatchMode>[];name:string;operators?:FlexibleOptionList<{[key:string]:unknown;disabled?:boolean;label:string;name:string;value:string; }> |string[] |FlexibleOption<string>[] | string | FlexibleOption<string>[];placeholder?:string;subproperties?:FlexibleOptionList<{ [x: string]: unknown; label: string; disabled?: boolean | undefined; name: string; value: string; id?: string | undefined; operators?: FlexibleOptionList<{ [x: string]: unknown; label: string; disabled?: boolean | undefined; name: string; value: string; }> | string[] | FlexibleOption<...>[] | (string | FlexibleOpt...>;validator?:RuleValidator;value:string;valueEditorType?:ValueEditorType| (operator:string) =>ValueEditorType;values?:FlexibleOptionList<{[key:string]:unknown;disabled?:boolean;label:string;name:string;value:string; }>;valueSources?:ValueSources|ValueSourceFlexibleOptions| (operator:string) => ValueSources | ValueSourceFlexibleOptions; },string>
Defined in: packages/react-querybuilder/src/types/props.ts:107
All subcomponents receive the configuration schema as a prop.
Inherited from
size?
optionalsize:SwitchSize
Defined in: node_modules/antd/es/switch/index.d.ts:11
Inherited from
ComponentPropsWithoutRef.size
style?
optionalstyle:CSSProperties
Defined in: node_modules/antd/es/switch/index.d.ts:33
Inherited from
ComponentPropsWithoutRef.style
styles?
optionalstyles:SwitchStylesType
Defined in: node_modules/antd/es/switch/index.d.ts:38
Inherited from
ComponentPropsWithoutRef.styles
tabIndex?
optionaltabIndex:number
Defined in: node_modules/antd/es/switch/index.d.ts:35
Inherited from
ComponentPropsWithoutRef.tabIndex
testID?
optionaltestID:string
Defined in: packages/react-querybuilder/src/types/props.ts:103
Test ID for this component.
Inherited from
title?
optionaltitle:string
Defined in: packages/react-querybuilder/src/types/props.ts:86
The title/tooltip for this control.
Inherited from
unCheckedChildren?
optionalunCheckedChildren:ReactNode
Defined in: node_modules/antd/es/switch/index.d.ts:29
Inherited from
ComponentPropsWithoutRef.unCheckedChildren
validation?
optionalvalidation:boolean|ValidationResult
Defined in: packages/react-querybuilder/src/types/props.ts:99
Validation result of the parent rule/group.
Inherited from
value?
optionalvalue:boolean
Defined in: node_modules/antd/es/switch/index.d.ts:20
Alias for checked.
Since
5.12.0
Inherited from
ComponentPropsWithoutRef.value
API documentation is generated from the latest commit on the main branch. It may be somewhat inconsistent with official releases of React Query Builder.