File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed
versioned_docs/version-5.x Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ function MyTabs() {
43
43
component = { Feed }
44
44
options = { {
45
45
tabBarLabel : 'Home' ,
46
- tabBarIcon : ( { color, size } ) => (
47
- < MaterialCommunityIcons name = "home" color = { color } size = { size } />
46
+ tabBarIcon : ( { color } ) => (
47
+ < MaterialCommunityIcons name = "home" color = { color } size = { 26 } />
48
48
) ,
49
49
} }
50
50
/>
@@ -53,8 +53,8 @@ function MyTabs() {
53
53
component = { Notifications }
54
54
options = { {
55
55
tabBarLabel : 'Updates' ,
56
- tabBarIcon : ( { color, size } ) => (
57
- < MaterialCommunityIcons name = "bell" color = { color } size = { size } />
56
+ tabBarIcon : ( { color } ) => (
57
+ < MaterialCommunityIcons name = "bell" color = { color } size = { 26 } />
58
58
) ,
59
59
} }
60
60
/>
@@ -63,8 +63,8 @@ function MyTabs() {
63
63
component = { Profile }
64
64
options = { {
65
65
tabBarLabel : 'Profile' ,
66
- tabBarIcon : ( { color, size } ) => (
67
- < MaterialCommunityIcons name = "account" color = { color } size = { size } />
66
+ tabBarIcon : ( { color } ) => (
67
+ < MaterialCommunityIcons name = "account" color = { color } size = { 26 } />
68
68
) ,
69
69
} }
70
70
/>
Original file line number Diff line number Diff line change @@ -206,8 +206,8 @@ function MyTabs() {
206
206
component= {Feed}
207
207
options= {{
208
208
tabBarLabel: ' Home' ,
209
- tabBarIcon : ({ color, size }) => (
210
- < MaterialCommunityIcons name= " home" color= {color} size= {size } / >
209
+ tabBarIcon : ({ color }) => (
210
+ < MaterialCommunityIcons name= " home" color= {color} size= {26 } / >
211
211
),
212
212
}}
213
213
/ >
@@ -216,8 +216,8 @@ function MyTabs() {
216
216
component= {Notifications}
217
217
options= {{
218
218
tabBarLabel: ' Updates' ,
219
- tabBarIcon : ({ color, size }) => (
220
- < MaterialCommunityIcons name= " bell" color= {color} size= {size } / >
219
+ tabBarIcon : ({ color }) => (
220
+ < MaterialCommunityIcons name= " bell" color= {color} size= {26 } / >
221
221
),
222
222
}}
223
223
/ >
@@ -226,8 +226,8 @@ function MyTabs() {
226
226
component= {Profile}
227
227
options= {{
228
228
tabBarLabel: ' Profile' ,
229
- tabBarIcon : ({ color, size }) => (
230
- < MaterialCommunityIcons name= " account" color= {color} size= {size } / >
229
+ tabBarIcon : ({ color }) => (
230
+ < MaterialCommunityIcons name= " account" color= {color} size= {26 } / >
231
231
),
232
232
}}
233
233
/ >
You can’t perform that action at this time.
0 commit comments