import { Tabs, Stack } from "expo-router";
import "@/global.css";
import { GluestackUIProvider } from "@/components/ui/gluestack-ui-provider";
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";

const queryClient = new QueryClient();
export default function RootLayout() {
  return (
    <QueryClientProvider client={queryClient}>
      <GluestackUIProvider>
        <Stack>
          <Stack.Screen name="index" options={{ title: "Home" }} />
          <Stack.Screen name="notices" options={{ title: "Ogłoszenia" }} />
          <Stack.Screen name="wishlist" options={{ title: "Ulubione" }} />
        </Stack>
        {/* <Tabs/> */}
      </GluestackUIProvider>
    </QueryClientProvider>
  );
}
