import { Entypo, FontAwesome, Ionicons } from "@expo/vector-icons"; import { createBottomTabNavigator } from "@react-navigation/bottom-tabs"; import TransactionHistoryScreen from "@screens/TransactionHistoryScreen"; import UserProfileScreen from "@screens/UserProfileScreen"; import { useTheme } from "@shopify/restyle"; // import palette import type { Theme } from "@themes/Theme"; import { View } from "react-native"; import Text from "../components/bases/Text"; import PaymentStackNavigator from "./PaymentStackNavigation"; const Tab = createBottomTabNavigator(); export const AppBottomTabsNavigator = () => { const theme = useTheme(); return ( ( ), tabBarActiveTintColor: theme.colors.secondary, }} /> ( ), tabBarActiveTintColor: theme.colors.secondary, }} /> ( ), tabBarActiveTintColor: theme.colors.secondary, }} /> ( ), tabBarActiveTintColor: theme.colors.secondary, }} /> ); }; const HomeScreen = () => { return ( Home! ); }; const Transactions = () => { return ( Transactions! ); }; const SettingsScreen = () => { return ( Settings! ); }; const ProfileScreen = () => { return ( Profile! ); };