Composant
Switch
Interrupteur natif thématisé avec libellé et sous-titre.
Ce qu'il fait
- Toute la ligne est cliquable
- Retour haptique léger
- Libellé lu avec le sous-titre
Import
import { Switch } from '@polprog/native-ui';
Le même module peut être importé directement :
import { Switch } from '@polprog/native-ui/components/Switch';