This commit is contained in:
2025-11-20 14:49:39 +07:00
parent 3cd2a53a0e
commit 58243330ea
4 changed files with 531 additions and 44 deletions

View File

@@ -26,6 +26,35 @@ export default function TabsLayout() {
tabBarIcon: ({ color, size }) => <Ionicons name="person" color={color} size={size} />,
}}
/>
{/* Ẩn các tab này khỏi bottom bar */}
<Tabs.Screen
name="cart"
options={{
href: null, // ẩn khỏi bottom tab bar
tabBarIcon: ({ color }) => <Ionicons name="cart-outline" size={24} color={color} />,
}}
/>
<Tabs.Screen
name="orders"
options={{
href: null, // ẩn khỏi bottom tab bar
tabBarIcon: ({ color }) => <Ionicons name="list-outline" size={24} color={color} />,
}}
/>
<Tabs.Screen
name="checkout"
options={{
href: null, // ẩn khỏi bottom tab bar
tabBarIcon: ({ color }) => <Ionicons name="checkmark-done-outline" size={24} color={color} />,
}}
/>
<Tabs.Screen
name="wishlist"
options={{
href: null, // ẩn khỏi bottom tab bar
tabBarIcon: ({ color }) => <Ionicons name="heart-outline" size={24} color={color} />,
}}
/>
</Tabs>
);
}