Toggle
Toggle can get props that will define the appearance and behavior of the component.
- value - Required. The value of the toggle.
- disabled - Optional. Whether the toggle should be disabled.
- size - Optional. Defaults to
SIZE.MEDIUM. Can be one of the sizes (SIZE) defined on the component.
On
Off
Disabled & On
Disabled & Off
Sizes
API
Props
| Name | Description | Type | Default |
|---|---|---|---|
| value | boolean | ||
| disabled | boolean | false | |
| size | string | SIZE.MEDIUM |
Events
| Name | Description |
|---|---|
| change |