mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-03-06 22:39:41 +08:00
React Native Buttons use title, not label.
This commit is contained in:
@@ -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"
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user