import React, { useLayoutEffect } from "react"; import { Tabs, useNavigation } from "expo-router"; import { StyledTabs } from "@/components/navigation/tabs"; import { useColorScheme } from "@/lib/useColorScheme"; import { ClipboardList, Home, Settings, Tag } from "lucide-react-native"; export default function TabLayout() { const { colors } = useColorScheme(); const navigation = useNavigation(); // Hide the header on the parent screen useLayoutEffect(() => { navigation.setOptions({ headerShown: false, }); }, [navigation]); return ( , }} /> , }} /> , }} /> , }} /> ); }