mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-02-09 22:51:57 +08:00
Update TabNavigator.md (#3341)
Improve code syntax to match the rest of the code spinnets in docs
This commit is contained in:
@@ -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 }]}
|
||||
/>
|
||||
),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user