Props
Attributes
- Graph
-
- Supertypes
-
trait PropTypesclass Objecttrait Matchableclass Any
Members list
Type members
Classlikes
The color of the component. It supports both default and custom theme colors, which can be added as shown in the palette customization guide.
The color of the component. It supports both default and custom theme colors, which can be added as shown in the palette customization guide.
Attributes
- Supertypes
-
class Prop[String]class Objecttrait Matchableclass Any
- Self type
-
color.type
Value members
Concrete methods
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.
Override or extend the styles applied to the component.
Attributes
If true
, the ripple effect is disabled.
If true
, the ripple effect is disabled.
Attributes
If true
, the component is disabled.
If true
, the component is 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
Name attribute of the input
element.
Name attribute of the input
element.
Attributes
Callback fired when the state is changed.
Callback fired when the state is changed.
Value parameters
- {React.ChangeEvent<HTMLInputElement>}
-
event The event source of the callback. You can pull out the new value by accessing
event.target.value
(string). You can pull out the new checked state by accessingevent.target.checked
(boolean).
Attributes
If true
, the input
element is required.
If true
, the input
element is required.
Attributes
The system prop that allows defining system overrides as well as additional CSS styles.
The system prop that allows defining system overrides as well as additional CSS styles.
Attributes
The value of the component. The DOM API casts this to a string.
The value of the component. The DOM API casts this to a string.
Attributes
Inherited methods
Attributes
- Inherited from:
- PropTypes
Inherited fields
Attributes
- Inherited from:
- PropTypes