ctify

Switch

Switches toggle the state of an item on or off

Props

PropsTypeDescriptionDefault
iconsbooleanShow x or √ iconfalse
colorprimary secondary tertiaray errorThe color of the switchprimary
disabledbooleanWhether the switch is disabledfalse
selectedbooleanWhether the switch is checkednull
defaultSelectedbooleanThe switch default selectedfalse

Events

EventsDescription
onChangefired when selected changed
Edit this page on GitHub