Update TabNavigator.md (#3341)

Improve code syntax to match the rest of the code spinnets in docs
This commit is contained in:
Dhruvdutt Jadhav
2018-01-27 05:14:18 +05:30
parent f3e4f49074
commit dff494c910

View File

@@ -10,7 +10,7 @@ class MyHomeScreen extends React.Component {
tabBarIcon: ({ tintColor }) => (
<Image
source={require('./chats-icon.png')}
style={[styles.icon, {tintColor: tintColor}]}
style={[styles.icon, { tintColor }]}
/>
),
};
@@ -31,7 +31,7 @@ class MyNotificationsScreen extends React.Component {
tabBarIcon: ({ tintColor }) => (
<Image
source={require('./notif-icon.png')}
style={[styles.icon, {tintColor: tintColor}]}
style={[styles.icon, { tintColor }]}
/>
),
};