Files
Steve Galili 2f4568a29b chore: revamp the cookbook app (#1635)
* create a Jotai examples dir in cookbook with related utils, add state management recipes dir

* add docs with examples

* extract state from component to state, utils, simplify types and custom render func.

* refactor: tweaks & cleanup

* make cookbook app runnable

* update yarn.lock file

* fix TS issue and spelling

* remove duplicate files and adjust testMatch in config to ensure no utils test run

---------

Co-authored-by: stevegalili <steve.galili@mywheels.nl>

refactor: tweak cookbook (#1636)

* refactor: move files around

* refactor: simplify

* chore: remove custom fonts

* chore: tweak eslint

* chore: update yarn.lock
2024-07-16 11:23:36 +02:00

23 lines
509 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',
},
headerBackTitleVisible: false,
}}
>
<Stack.Screen name="index" options={{ headerTitle: '' }} />
</Stack>
);
}