Skip to content

Commit

Permalink
fix error: tab icon not showing
Browse files Browse the repository at this point in the history
  • Loading branch information
Aniruddha-Gade committed Jan 3, 2024
1 parent c8e37ad commit ad54d6b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions App/Navigations/TabNavigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,22 @@ const TabNavigation = () => {
}}>
<Tab.Screen name='Home1' component={HomeNavigation}
options={{
tabBarIcon: ({ color, size }) => {
tabBarIcon: ({ color, size }) => (
<Ionicons name="home" size={size} color={color} />
}
)
}}
/>
<Tab.Screen name='Appointement' component={Appointement}
options={{
tabBarIcon: ({ color, size }) => {
<Ionicons name="calendar" size={size} color={Colors.primary} />
}
tabBarIcon: ({ color, size }) => (
<Ionicons name="calendar" size={size} color={color} />
)
}} />
<Tab.Screen name='Profile' component={Profile}
options={{
tabBarIcon: ({ color, size }) => {
tabBarIcon: ({ color, size }) => (
<FontAwesome name="user-circle" size={size} color={color} />
}
)
}} />

</Tab.Navigator>
Expand Down

0 comments on commit ad54d6b

Please sign in to comment.