Replace usage of label with title prop for Buttons (#194)

This commit is contained in:
Jason Sendros
2017-02-05 21:59:11 -05:00
committed by Satyajit Sahoo
parent 125159040c
commit d2fc150f69

View File

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