- Add required web dependencies (react-dom, react-native-web) - Add navigation dependencies (react-native-safe-area-context, react-native-screens) - Fix StatusBar prop (barStyle -> style) in root layout - Fix animation property in auth layout (animationEnabled -> animation) - Add placeholder assets for app icons and splash screen - Auto-generated tsconfig.json from Expo
17 lines
374 B
TypeScript
17 lines
374 B
TypeScript
import { Stack } from 'expo-router';
|
|
|
|
export default function AuthLayout() {
|
|
return (
|
|
<Stack
|
|
screenOptions={{
|
|
headerShown: false,
|
|
gestureEnabled: false,
|
|
animation: 'slide_from_right',
|
|
}}
|
|
>
|
|
<Stack.Screen name="login" />
|
|
<Stack.Screen name="signup" />
|
|
<Stack.Screen name="forgot-password" />
|
|
</Stack>
|
|
);
|
|
}
|