Update DrawerNavigator.md (#212)

Button requires a title prop, and its same in other pages(tabbarNavigator, stackbarNavigator) but here it is label.
This commit is contained in:
Harkirat Saluja
2017-02-08 00:23:44 +05:30
committed by Satyajit Sahoo
parent eabec0d3b8
commit 80016d2fe8

View File

@@ -20,7 +20,7 @@ class MyHomeScreen extends React.Component {
return (
<Button
onPress={() => this.props.navigation.navigate('Notifications')}
label="Go to notifications"
title="Go to notifications"
/>
);
}
@@ -43,7 +43,7 @@ class MyNotificationsScreen extends React.Component {
return (
<Button
onPress={() => this.props.navigation.goBack()}
label="Go back home"
title="Go back home"
/>
);
}