Initial commit of template

This commit is contained in:
Antigravity
2026-07-16 14:03:55 +05:30
commit 43a21092ad
19 changed files with 1012 additions and 0 deletions

20
app/_layout.tsx Normal file
View File

@@ -0,0 +1,20 @@
import { Stack } from 'expo-router';
import { StatusBar } from 'expo-status-bar';
import { GestureHandlerRootView } from 'react-native-gesture-handler';
import { Toaster } from 'sonner-native';
import { useFrameworkReady } from '@/hooks/useFrameworkReady';
export default function RootLayout() {
useFrameworkReady(); // Assuming this handles side effects
return (
<GestureHandlerRootView style={{ flex: 1 }}>
<Stack screenOptions={{ headerShown: false }}>
<Stack.Screen name="(tabs)" />
<Stack.Screen name="+not-found" options={{ headerShown: false }} />
</Stack>
<StatusBar style="auto" />
<Toaster theme="light" />
</GestureHandlerRootView>
);
}