The switch component is used to toggle a boolean value.
The checked state of the switch.
The function to call when the switch state changes.
<Switch />