Props
Attributes
- Graph
- Supertypes
- trait PropTypesclass Objecttrait Matchableclass Any
Members list
Type members
Classlikes
The color of the component. It supports those theme colors that make sense for this component.
The color of the component. It supports those theme colors that make sense for this component.
Attributes
- Graph
- 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
- Graph
- 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. 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 ripple effect will be disabled.
If true
, the ripple effect will be disabled.
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 value by accessing
event.target.value
(string). You can pull out the new checked state by accessingevent.target.checked
(boolean).
If true
, the input
element will be required.
If true
, the input
element will be required.
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