SwitchProps
Represents the props of the KendoReact Switch component.
Name | Type | Default | Description |
---|---|---|---|
accessKey? |
|
Specifies the jsx
| |
ariaDescribedBy? |
|
Identifies the element(s) which will describe the component. For example these elements could contain error or hint message. jsx
| |
ariaLabel? |
|
Specifies the accessible label of the Switch. jsx
| |
ariaLabelledBy? |
|
Identifies the element(s) which will label the component. jsx
| |
checked? |
|
Sets the current value of the Switch (see example). jsx
| |
className? |
|
Adds custom CSS classes to the Switch. jsx
| |
defaultChecked? |
|
Sets the value of the Switch when it is initially displayed (see example). jsx
| |
defaultValue? |
|
Specifies the default value of the Switch. jsx
| |
dir? |
|
Specifies the jsx
| |
disabled? |
|
Disables the Switch when set to jsx
| |
id? |
|
Specifies the jsx
| |
name? |
|
Specifies the This property is part of the FormComponentProps interface. | |
offLabel? |
|
Sets a custom label for the Off state. jsx
| |
onBlur? |
|
Fires when the Switch is blurred. jsx
| |
onChange? |
|
Fires when the value of the Switch changes. jsx
| |
onFocus? |
|
Fires when the Switch is focused. jsx
| |
onLabel? |
|
Sets a custom label for the On state. jsx
| |
required? |
|
Specifies if This property is part of the FormComponentProps interface. | |
size? |
|
|
Configures the The available options are:
jsx
|
tabIndex? |
|
Specifies the jsx
| |
thumbRounded? |
|
Configures the The available options are:
jsx
| |
trackRounded? |
|
|
Configures the The available options are:
jsx
|
valid? |
|
Overrides the validity state of the component.
If This property is part of the FormComponentProps interface. | |
validationMessage? |
|
Controls the form error message of the component. If set to an empty string, no error will be thrown. This property is part of the FormComponentProps interface. | |
validityStyles? |
|
If set to This property is part of the FormComponentProps interface. | |
value? |
|
Specifies the value of the Switch. jsx
|