import { Tabs } from "expo-router/tabs"; import {StyleSheet, View} from "react-native" import { FontAwesome } from "@expo/vector-icons"; import {useThemeColor} from "../hooks/hooks"; export default function Layout() { const selectedColor: string = useThemeColor( "tabIconSelected"); const defaultColor: string = useThemeColor("tabIconDefault"); const backgroundColor: string = useThemeColor("backgroundColor"); const tabBarColor: string = useThemeColor("tabBarColor"); const styles = StyleSheet.create({ sceneContainer: { backgroundColor: backgroundColor, }, tabBar: { backgroundColor: tabBarColor, } }); const screenOptions = { tabBarActiveTintColor: selectedColor, tabBarInactiveTintColor: defaultColor, headerShown: false, tabBarStyle: styles.tabBar, } return ( ( ), } }/> ( ), } }/> ( ), } }/> ); }