Learn how to choose between two states or values using the Switch component.

The Switch component in React Native is a controlled component that renders boolean input and modifies its value accordingly. It changes its value based on user decisions. For example, Switch can be used to toggle dark mode inside an application on or off.

Get hands-on with 1200+ tech skills courses.