SwitchProps

Represents the props of the KendoReact Switch component.

accessKey? string

Specifies the accessKey of the Switch.

checked? boolean

Sets the current value of the Switch (see example).

className? string

Sets the className of the wrapping element of the Switch.

defaultChecked? boolean

Sets the value of the Switch when it is initially displayed (see example).

dir? string

Sets the dir property of the wrapping element of the Switch.

disabled? boolean

Disables the Switch when set to true (see example).

id? string

Sets the id of the Switch.

offLabel? string

Changes the Off label(see example).

onBlur? (event: FocusEvent<HTMLSpanElement>) => void

Fires each time the Switch gets blurred.

onChange? (event: SwitchChangeEvent) => void

Fires each time the user selects a new value (see example).

onFocus? (event: FocusEvent<HTMLSpanElement>) => void

Fires each time the Switch component gets focused.

onLabel? string

Changes the On label (see example).

tabIndex? number

Specifies the tabIndex of the component.

 /