@@ -42,26 +42,37 @@ function Profile() {
42
42
export default function TabNavigator ( props ) {
43
43
return (
44
44
< Tab . Navigator
45
- initialRouteName = "Feed"
45
+ initialRouteName = "Profile"
46
+ navigationOptions = { { title : 'routeName' } }
46
47
tabBarOptions = { {
47
48
activeTintColor : primaryColor ,
48
49
} } >
49
50
< Tab . Screen
50
51
name = "Feed"
51
52
options = { {
52
- tabBarLabel : 'Home' ,
53
+ tabBarLabel : ( ) => < View /> ,
53
54
tabBarIcon : ( { color, size} ) => (
54
55
< FontAwesome5 name = { 'home' } color = { color } size = { size } />
55
56
) ,
56
57
} }
57
58
children = { ( ) => < Feed { ...props } /> }
58
59
/>
60
+ < Tab . Screen
61
+ name = "Notifications1"
62
+ options = { {
63
+ tabBarLabel : ( ) => < View /> ,
64
+ tabBarIcon : ( { color, size} ) => (
65
+ < FontAwesome5 name = { 'heart' } color = { color } size = { size } />
66
+ ) ,
67
+ } }
68
+ children = { ( ) => < Notifications { ...props } /> }
69
+ />
59
70
< Tab . Screen
60
71
name = "Notifications"
61
72
options = { {
62
- tabBarLabel : 'Notifications' ,
73
+ tabBarLabel : ( ) => < View /> ,
63
74
tabBarIcon : ( { color, size} ) => (
64
- < FontAwesome5 name = { 'bell ' } color = { color } size = { size } />
75
+ < FontAwesome5 name = { 'heart ' } color = { color } size = { size } />
65
76
) ,
66
77
} }
67
78
children = { ( ) => < Notifications { ...props } /> }
@@ -70,7 +81,7 @@ export default function TabNavigator(props) {
70
81
name = "Profile"
71
82
component = { Profile }
72
83
options = { {
73
- tabBarLabel : 'Profile' ,
84
+ tabBarLabel : ( ) => < View /> ,
74
85
tabBarIcon : ( { color, size} ) => (
75
86
< FontAwesome5 name = { 'user' } color = { color } size = { size } />
76
87
) ,
0 commit comments