Switch
A control that allows the user to toggle between checked and not checked.
Installation
Options
Size
Use the size
prop to control the size of the switch.
The default size is "md"
.
API Reference
Switch
Prop | Type | Default | Description |
---|---|---|---|
size | "sm" | "md" | "md" | The size of the switch. |