A skin on a checkbox.
destructive
labelPosition='before'
Property | Type | Required | Default | Description |
---|---|---|---|---|
labelPosition | Enum | false | after | Position of the label text in relation to the input. |
children | Node | false | - | The text label of the Switch. |
name | String | false | - | The name to be shared among Switches in a group. |
checked | Bool | false | - | Whether the Switch is currently checked. |
onChange | Func | false | - | Event called when the Switch value should be toggled. |
destructive | Bool | false | - | Should use a red highlight color. |
fullWidth | Bool | false | - | Switch and label will take up the full width of the container |