mirror of
https://github.com/callstack/react-native-testing-library.git
synced 2026-09-18 23:09:04 +08:00
23 lines
471 B
TypeScript
23 lines
471 B
TypeScript
import { Stack } from 'expo-router';
|
|
import * as React from 'react';
|
|
|
|
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>
|
|
);
|
|
}
|