| import React from 'react'; | |
| import { StatusBar } from 'expo-status-bar'; | |
| import { GestureHandlerRootView } from 'react-native-gesture-handler'; | |
| import { StyleSheet } from 'react-native'; | |
| import { AuthProvider } from './src/context/AuthContext'; | |
| import { AppNavigator } from './src/navigation/AppNavigator'; | |
| export default function App() { | |
| return ( | |
| <GestureHandlerRootView style={styles.container}> | |
| <AuthProvider> | |
| <StatusBar style="light" /> | |
| <AppNavigator /> | |
| </AuthProvider> | |
| </GestureHandlerRootView> | |
| ); | |
| } | |
| const styles = StyleSheet.create({ | |
| container: { | |
| flex: 1, | |
| }, | |
| }); | |