Initial commit

This commit is contained in:
Patryk
2025-04-07 21:26:22 +02:00
parent a18dbba5be
commit 9e215d6203
11 changed files with 1180 additions and 25 deletions

19
app/_layout.tsx Normal file
View File

@@ -0,0 +1,19 @@
import { Stack } from 'expo-router';
import { useColorScheme } from 'react-native';
import { PaperProvider} from 'react-native-paper';
import { MD3LightTheme, MD3DarkTheme } from 'react-native-paper';
const colorScheme = useColorScheme();
const theme = colorScheme === 'dark' ? MD3DarkTheme :
MD3LightTheme;
console.log(colorScheme)
export default function RootLayout() {
return (
<PaperProvider theme={theme} >
<Stack>
<Stack.Screen name="(tabs)" options={{ headerShown: false }} />
</Stack>
</PaperProvider>
);
}