Switch
A switch allows a user to turn a setting on or off.
Disabled
Component props
| Name | Type | Description |
|---|---|---|
| label | string | Label text displayed above the switch |
| isSelected | boolean | Controlled selected state |
| defaultSelected | boolean | Default selected state |
| isDisabled | boolean | Disables the switch |
| onChange | (isSelected: boolean) => void | Called when state changes |