chefhai/app/_layout.tsx
Tantikon Phasanphaengsi d074115a71 create home page
2025-05-08 20:47:11 +07:00

25 lines
629 B
TypeScript

import { Stack } from 'expo-router';
import { GestureHandlerRootView } from 'react-native-gesture-handler';
import "../global.css"
export default function RootLayout() {
return (
<GestureHandlerRootView style={{ flex: 1 }}>
<Stack screenOptions={{ headerShown: false }}>
<Stack.Screen
name="(tabs)"
options={{
headerShown: false
}}
/>
<Stack.Screen
name="recipe-detail"
options={{
headerShown: false,
presentation: 'card'
}}
/>
</Stack>
</GestureHandlerRootView>
);
}