Files
developer-roadmap/roadmaps/react-native/content/switch@ouNTekf4VpZv-Vja8_bfM.md

562 B

Switch

A Switch is a visual component in React Native that provides a toggle interface for users to switch between two states, typically on and off. It functions as a controlled component, meaning it relies on a boolean value passed through properties to determine its current state and a callback function to handle changes when the user interacts with it. This component is commonly used in settings menus or forms where a binary selection is required.

Visit the following resources to learn more: