location show page
This commit is contained in:
@@ -10,8 +10,20 @@ MD3LightTheme;
|
||||
export default function RootLayout() {
|
||||
return (
|
||||
<PaperProvider theme={theme} >
|
||||
<Stack>
|
||||
<Stack screenOptions={{
|
||||
headerStyle: {
|
||||
backgroundColor: theme.colors.primaryContainer,
|
||||
borderBottomWidth:0
|
||||
},
|
||||
headerTintColor: theme.colors.primary,
|
||||
}}>
|
||||
<Stack.Screen name="(tabs)" options={{ headerShown: false }} />
|
||||
<Stack.Screen
|
||||
name="location/[id]"
|
||||
options={{
|
||||
title: "Lokalizacja",
|
||||
headerBackTitle: "Powrót",
|
||||
}}/>
|
||||
</Stack>
|
||||
</PaperProvider>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user