mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-03-06 22:39:41 +08:00
Update Screen-Navigation-Prop.md (#19)
This commit is contained in:
committed by
Eric Vicenti
parent
ddb2107acd
commit
fa145dd518
@@ -74,7 +74,7 @@ class ProfileScreen extends React.Component {
|
||||
```js
|
||||
class HomeScreen extends React.Component {
|
||||
render() {
|
||||
const {navigate} = this.props.navigation;
|
||||
const {goBack} = this.props.navigation;
|
||||
return (
|
||||
<View>
|
||||
<Button
|
||||
|
||||
Reference in New Issue
Block a user