Skip to main content

Switch

Switches toggle the state of a single item on or off.

๐Ÿ’ฌ Feedback

Import

import { Switch } from "@react-native-material/core";

Usage

Switches are the preferred way to adjust settings on mobile.

Use switches to:

  • Toggle a single item on or off, on mobile and tablet
  • Immediately activate or deactivate something

Props

tintColor

Type: PaletteColor;

Optional: Yes


...SwitchProps