Props
Attributes
- Graph
- Supertypes
- trait PropTypesclass Objecttrait Matchableclass Any
Members list
Type members
Value members
Concrete methods
The input component prop type
.
The input component prop type
.
Attributes
If true
, the input
element will be focused during the first mount.
If true
, the input
element will be focused during the first mount.
Attributes
If true
, the component is checked.
If true
, the component is checked.
Attributes
The icon to display when the component is checked.
The icon to display when the component is checked.
Attributes
Override or extend the styles applied to the component. See CSS API below for more details.
Override or extend the styles applied to the component. See CSS API below for more details.
Attributes
If true
, the switch will be disabled.
If true
, the switch will be disabled.
Attributes
The icon to display when the component is unchecked.
The icon to display when the component is unchecked.
Attributes
The id of the input
element.
The id of the input
element.
Attributes
Attributes applied to the input
element.
Pass a ref to the input
element.
Pass a ref to the input
element.
Attributes
Callback fired when the state is changed.
Callback fired when the state is changed.
Attributes
- {object}
event The event source of the callback. You can pull out the new checked state by accessing
event.target.checked
(boolean).
It prevents the user from changing the value of the field (not from interacting with the field).
It prevents the user from changing the value of the field (not from interacting with the field).
Attributes
If true
, the input
element will be required.
If true
, the input
element will be required.
Attributes
The value of the component.
The value of the component.
Attributes
Inherited methods
Attributes
- Inherited from:
- PropTypes
Inherited fields
Attributes
- Inherited from:
- PropTypes