Update DrawerNavigator.md (#3337)

Improve code syntax
This commit is contained in:
Dhruvdutt Jadhav
2018-01-27 05:15:06 +05:30
parent dff494c910
commit 299a9c68ed

View File

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