Switch

On off switches

Examples

<Switch />

States

Disabled

<Switch disabled />
<Switch disabled checked />

Checked

<Switch checked />

API

Props

Name Description Type Optional value Default
disabled - bool - false
checked - bool - false

Events

Name Description
onCheckedChange -