_layout.tsx 577 B

1234567891011121314151617181920
  1. import { Stack } from 'expo-router/stack';
  2. import AuthProvider from '../context/AuthProvider';
  3. import { StatusBar } from 'expo-status-bar';
  4. export default function RootLayout() {
  5. return (
  6. <AuthProvider>
  7. <Stack>
  8. <Stack.Screen
  9. name="(auth)/(tabs)"
  10. options={{ headerShown: false }}
  11. />
  12. <Stack.Screen
  13. name="(public)/login"
  14. options={{ headerShown: false }}
  15. />
  16. </Stack>
  17. </AuthProvider>
  18. );
  19. }