init drawer

This commit is contained in:
Patryk
2025-05-06 22:17:51 +02:00
parent 47e5d80792
commit 6598faf5e8
7 changed files with 2418 additions and 2170 deletions

View File

@@ -48,8 +48,9 @@ export default function TabLayout() {
}}
/>
<Tabs.Screen
name="account"
name="dashboard"
options={{
headerShown: false, // Ukryj nagłówek dla Drawer
title: "Konto",
tabBarLabel: "Konto",
tabBarIcon: ({ color, size }) => (

View File

@@ -0,0 +1,13 @@
import { Drawer } from "expo-router/drawer";
export default function AccountDrawerLayout() {
return (
<Drawer>
<Drawer.Screen name="account" options={{ title: "Konto" }} />
<Drawer.Screen
name="userNotices"
options={{ title: "Moje ogłoszenia" }}
/>
</Drawer>
);
}

View File

@@ -0,0 +1,4 @@
import { Text } from "@/components/ui/text";
export default function UserNotices() {
return <Text>Użytkownik</Text>;
}