mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-24 04:25:34 +08:00
fix(docs): Fix incorrect style in TabNavigator sample (#734)
The example provides styling for the tab icon via the `icon` property in the styles object. However in the example, it is used as `tabIcon` which does not exist.
This commit is contained in:
committed by
Satyajit Sahoo
parent
0820366a1c
commit
c5f2475182
@@ -34,7 +34,7 @@ class MyNotificationsScreen extends React.Component {
|
||||
icon: ({ tintColor }) => (
|
||||
<Image
|
||||
source={require('./notif-icon.png')}
|
||||
style={[styles.tabIcon, {tintColor: tintColor}]}
|
||||
style={[styles.icon, {tintColor: tintColor}]}
|
||||
/>
|
||||
),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user