mirror of
https://github.com/status-im/react-navigation.git
synced 2025-02-24 17:18:09 +00:00
React Native Buttons use title, not label.
This commit is contained in:
parent
a01e88f7c4
commit
fe968c2003
@ -15,7 +15,7 @@ class MyHomeScreen extends React.Component {
|
||||
return (
|
||||
<Button
|
||||
onPress={() => this.props.navigation.navigate('Profile', {name: 'Lucy'})}
|
||||
label="Go to Lucy's profile"
|
||||
title="Go to Lucy's profile"
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user