ComponentsSwitch
A toggle control for switching between two states.

Use the size
prop to change the size of the switch
Use the color
and unCheckColor
prop to change the color of the switch
Use the variant
prop to change the switch visual style
Use the onToggleSwitch
prop to get the switch state
With the on
prop you can set the switch default state