mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-11-29 02:17:42 +08:00
Co-authored-by: nilbuild <4921183+nilbuild@users.noreply.github.com>
7 lines
562 B
Markdown
7 lines
562 B
Markdown
# 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:
|
|
|
|
- [@official@Switch](https://reactnative.dev/docs/switch) |