Skip to content

Commit fe968c2

Browse files
hysansatya164
authored andcommitted
React Native Buttons use title, not label.
1 parent a01e88f commit fe968c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/navigators/StackNavigator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class MyHomeScreen extends React.Component {
1515
return (
1616
<Button
1717
onPress={() => this.props.navigation.navigate('Profile', {name: 'Lucy'})}
18-
label="Go to Lucy's profile"
18+
title="Go to Lucy's profile"
1919
/>
2020
);
2121
}

0 commit comments

Comments
 (0)