From cf59438c256169f407649ed418133bf4aca46f70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ya=C3=ABl=20Perret?= Date: Thu, 10 Sep 2026 11:40:54 +0200 Subject: [PATCH] feat : Switch --- src/app/(tabs)/index.tsx | 7 ++ src/app/_layout.tsx | 1 + src/app/switch-demo.tsx | 118 ++++++++++++++++++++++++++ src/components/form/Switch.tsx | 151 +++++++++++++++++++++++++++++++++ src/components/form/index.ts | 2 + 5 files changed, 279 insertions(+) create mode 100644 src/app/switch-demo.tsx create mode 100644 src/components/form/Switch.tsx diff --git a/src/app/(tabs)/index.tsx b/src/app/(tabs)/index.tsx index 40b97d3..d7cacb0 100644 --- a/src/app/(tabs)/index.tsx +++ b/src/app/(tabs)/index.tsx @@ -20,6 +20,12 @@ export default function HomeTabScreen() { onPress={() => router.push('/index-old')} accessibilityLabel="Ouvrir la page d'exemple des champs" /> +