From 845a9509b796d19b6c2edb47382a1dbb2fe1cd2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ya=C3=ABl=20Perret?= Date: Tue, 8 Sep 2026 21:44:07 +0200 Subject: [PATCH] =?UTF-8?q?feat=20:=20Diff=C3=A9rents=20inputs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/(tabs)/index.tsx | 15 ++ src/app/index-old.tsx | 316 ++++++++++---------------- src/components/form/FormField.tsx | 110 +++++++++ src/components/form/Input.tsx | 143 ++++++++++++ src/components/form/PasswordInput.tsx | 117 ++++++++++ src/components/form/SearchInput.tsx | 84 +++++++ src/components/form/TextArea.tsx | 44 ++++ src/components/form/index.ts | 12 + src/theme/colors.ts | 5 + src/theme/typography.ts | 18 ++ 10 files changed, 665 insertions(+), 199 deletions(-) create mode 100644 src/components/form/FormField.tsx create mode 100644 src/components/form/Input.tsx create mode 100644 src/components/form/PasswordInput.tsx create mode 100644 src/components/form/SearchInput.tsx create mode 100644 src/components/form/TextArea.tsx create mode 100644 src/components/form/index.ts diff --git a/src/app/(tabs)/index.tsx b/src/app/(tabs)/index.tsx index 0ea7e14..40b97d3 100644 --- a/src/app/(tabs)/index.tsx +++ b/src/app/(tabs)/index.tsx @@ -1,14 +1,26 @@ +import { useRouter } from 'expo-router'; import { StyleSheet, Text, View } from 'react-native'; +import { Button } from '@/components/Button'; import { colors } from '@/theme/colors'; import { spacing } from '@/theme/spacing'; import { typography } from '@/theme/typography'; export default function HomeTabScreen() { + const router = useRouter(); + return ( Accueil Base ecran accueil tab + +