Skip to content

Commit

Permalink
3️⃣ 3.3 Account Tab on Native
Browse files Browse the repository at this point in the history
  • Loading branch information
nandorojo committed Oct 7, 2022
1 parent 76e6f3e commit 16013d5
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
17 changes: 16 additions & 1 deletion apps/expo/app/(tabs).tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,22 @@ function MyTabs() {
tabBarIcon({ color, size, focused }) {
return (
<Ionicons
name={focused ? 'people' : 'people-outline'}
name={focused ? 'list' : 'list-outline'}
size={size}
color={color}
/>
)
},
}}
/>
<Tabs.Screen
name="account"
options={{
title: 'My Account',
tabBarIcon({ color, size, focused }) {
return (
<Ionicons
name={focused ? 'person' : 'person-outline'}
size={size}
color={color}
/>
Expand Down
1 change: 1 addition & 0 deletions apps/expo/app/(tabs)/account.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from 'app/features/auth/my-account/screen'

0 comments on commit 16013d5

Please sign in to comment.