diff --git a/App.tsx b/App.tsx index 413bf1b..99a4052 100644 --- a/App.tsx +++ b/App.tsx @@ -1,20 +1,19 @@ import { StatusBar } from 'expo-status-bar'; -import { StyleSheet, Text, View } from 'react-native'; +import { StyleSheet, Text, View, Button } from 'react-native'; +import React, { useState } from "react"; +import Navigation from './navigation/Navigation'; + +import { + SafeAreaView, + SafeAreaProvider, +} from 'react-native-safe-area-context'; export default function App() { + //safearea + //mettre le navigateur ayant le princ return ( - - Vroum Vroum i'm in my mom's car - - + + + ); } - -const styles = StyleSheet.create({ - container: { - flex: 1, - backgroundColor: '#fff', - alignItems: 'center', - justifyContent: 'center', - }, -}); diff --git a/components/TabBarIcon.tsx b/components/TabBarIcon.tsx new file mode 100644 index 0000000..2d8bab3 --- /dev/null +++ b/components/TabBarIcon.tsx @@ -0,0 +1,10 @@ + +import { FontAwesome } from '@expo/vector-icons'; + + +export default function TabBarIcon(props: { + name: React.ComponentProps['name']; + color: string; +}) { + return ; +} \ No newline at end of file diff --git a/components/mainComponent.tsx b/components/mainComponent.tsx new file mode 100644 index 0000000..99deaa0 --- /dev/null +++ b/components/mainComponent.tsx @@ -0,0 +1,40 @@ +import { StatusBar } from 'expo-status-bar'; +import { StyleSheet, Text, View, Button } from 'react-native'; +import React, { useState } from "react"; + +export default function Main(props : mainProps){ + const [count, setCount] = useState(0); + return ( + + + Maman, prend la caméra ! ! + + {count} +