morethanadiagnosis-hub/mobile/app/_layout.tsx
Claude 428a8e6526
fix: add missing dependencies and fix TypeScript errors
- 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
2025-11-18 18:56:34 +00:00

23 lines
539 B
TypeScript

import { Stack } from 'expo-router';
import { StatusBar } from 'expo-status-bar';
import { useEffect } from 'react';
export const unstable_settings = {
initialRouteName: '(tabs)',
};
export default function RootLayout() {
useEffect(() => {
// Setup any global configuration here
}, []);
return (
<>
<StatusBar style="dark" />
<Stack>
<Stack.Screen name="(tabs)" options={{ headerShown: false }} />
<Stack.Screen name="(auth)" options={{ headerShown: false }} />
</Stack>
</>
);
}