Switch represents user's decision of a process and indicates whether a state is on/off.
Switch is a controlled component that requires an
onValueChange to update the
This renders a
boolean value. React native elements provide you with additional
color support in the Switch Button.
|string||The color of the Switch component.|