Files
mdb/mdb-predator/app/_layout.tsx
Bastien COIGNOUX bd325fe456 init
2026-05-03 20:18:33 +02:00

27 lines
773 B
TypeScript

import 'react-native-gesture-handler';
import { Stack } from 'expo-router';
import { StatusBar } from 'expo-status-bar';
import { SafeAreaProvider } from 'react-native-safe-area-context';
import { colors } from '../src/theme/colors';
export default function RootLayout() {
return (
<SafeAreaProvider>
<StatusBar style="light" />
<Stack
screenOptions={{
headerStyle: { backgroundColor: colors.card },
headerTintColor: colors.text,
contentStyle: { backgroundColor: colors.bg },
}}
>
<Stack.Screen name="index" options={{ title: 'MDB-PREDATOR' }} />
<Stack.Screen
name="field"
options={{ title: 'Field visit' }}
/>
</Stack>
</SafeAreaProvider>
);
}