Switch
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 value prop.
This renders a boolean value. React native elements provide you with additional theme and color support in the Switch Button.
Usage
Loading...
Props
note
Includes all React Native Switch, View props.
| Name | Type | Default | Description | 
|---|---|---|---|
| color | string | primary | The color of the Switch component. |