add css styles to drawer
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
import { Tabs } from "expo-router";
|
import { Tabs } from "expo-router";
|
||||||
import { Ionicons } from "@expo/vector-icons";
|
import { Ionicons } from "@expo/vector-icons";
|
||||||
|
|
||||||
export default function TabLayout() {
|
export default function TabLayout() {
|
||||||
return (
|
return (
|
||||||
<Tabs
|
<Tabs
|
||||||
|
|||||||
@@ -2,7 +2,18 @@ import { Drawer } from "expo-router/drawer";
|
|||||||
|
|
||||||
export default function AccountDrawerLayout() {
|
export default function AccountDrawerLayout() {
|
||||||
return (
|
return (
|
||||||
<Drawer>
|
<Drawer
|
||||||
|
screenOptions={{
|
||||||
|
drawerActiveTintColor: "#1c1c1e",
|
||||||
|
drawerInactiveTintColor: "#8e8e8f",
|
||||||
|
drawerActiveBackgroundColor: "#f0f0f0",
|
||||||
|
drawerItemStyle: {
|
||||||
|
borderRadius: 8,
|
||||||
|
// backgroundColor: "transparent",
|
||||||
|
},
|
||||||
|
headerTintColor: "#1c1c1e",
|
||||||
|
}}
|
||||||
|
>
|
||||||
<Drawer.Screen name="account" options={{ title: "Konto" }} />
|
<Drawer.Screen name="account" options={{ title: "Konto" }} />
|
||||||
<Drawer.Screen
|
<Drawer.Screen
|
||||||
name="userNotices"
|
name="userNotices"
|
||||||
|
|||||||
@@ -1,10 +1,8 @@
|
|||||||
import { Tabs, Stack } from "expo-router";
|
import { Stack } from "expo-router";
|
||||||
import "@/global.css";
|
import "@/global.css";
|
||||||
import { GluestackUIProvider } from "@/components/ui/gluestack-ui-provider";
|
import { GluestackUIProvider } from "@/components/ui/gluestack-ui-provider";
|
||||||
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
|
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
|
||||||
|
|
||||||
import { GestureHandlerRootView } from "react-native-gesture-handler";
|
|
||||||
import { Drawer } from "expo-router/drawer";
|
|
||||||
const queryClient = new QueryClient();
|
const queryClient = new QueryClient();
|
||||||
export default function RootLayout() {
|
export default function RootLayout() {
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user