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:
Karan Thakkar
2017-03-19 17:43:15 +05:30
committed by Satyajit Sahoo
parent 0820366a1c
commit c5f2475182

View File

@@ -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}]}
/>
),
},