Files
Maciej Jastrzebski 96ea646a92 chore: Expo 52 support (#1689)
* chore: Expo 52 preview 3

* chore: update to preview 13

* chore: update expo in examples
2024-11-27 10:07:11 +01:00

22 lines
470 B
TypeScript

import * as React from 'react';
import { Stack } from 'expo-router';
import theme from '../theme';
export default function RootLayout() {
return (
<Stack
screenOptions={{
headerStyle: {
backgroundColor: theme.colors.primary,
},
headerTintColor: '#fff',
headerTitleStyle: {
fontWeight: 'bold',
},
}}
>
<Stack.Screen name="index" options={{ headerTitle: '' }} />
</Stack>
);
}