An on/off toggle. A native checkbox with role="switch", so checked, defaultChecked and onChange work as usual.
role="switch"
checked
defaultChecked
onChange
<Switch defaultChecked>Notifications</Switch> Copy
<Switch defaultChecked>Notifications</Switch>
An on/off toggle. A native checkbox with
role="switch", sochecked,defaultCheckedandonChangework as usual.