27 lines
773 B
TypeScript
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>
|
|
);
|
|
}
|