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
If given, uses a negative margin to counteract the padding on one side (this is often helpful for aligning the left or right side of the icon with content above or below, without ruining the border size and shape).
If given, uses a negative margin to counteract the padding on one side (this is often helpful for aligning the left or right side of the icon with content above or below, without ruining the border size and shape).
Attributes
- Supertypes
-
class Prop[Any]class Objecttrait Matchableclass Any
- Self type
-
edge.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
The default checked state. Use when the component is not controlled.
The default checked state. Use when the component is not controlled.
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
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 browser uses "on" as the default value.
The value of the component. The DOM API casts this to a string. The browser uses "on" as the default value.
Attributes
Inherited methods
Attributes
- Inherited from:
- PropTypes
Inherited fields
Attributes
- Inherited from:
- PropTypes