Skip to content

Commit f97b976

Browse files
authored
Fix typo in “Hello React Navigation > Creating a stack navigator” section
```diff - `createAppContainer` is a function that retuns a React component to take as a parameter + `createAppContainer` is a function that returns a React component to take as a parameter ``` URL: https://reactnavigation.org/docs/en/hello-react-navigation.html#creating-a-stack-navigator
1 parent a45d119 commit f97b976

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/versioned_docs/version-4.x/hello-react-navigation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Before continuing, first install [`react-navigation-stack`](https://github.com/r
1515

1616
## Creating a stack navigator
1717

18-
`createStackNavigator` is a function that returns a React component. It takes _a route configuration object_ and, optionally, _an options object_ (we omit this below, for now). `createAppContainer` is a function that retuns a React component to take as a parameter the React component created by the `createStackNavigator`, and can be directly exported from `App.js` to be used as our App's root component.
18+
`createStackNavigator` is a function that returns a React component. It takes _a route configuration object_ and, optionally, _an options object_ (we omit this below, for now). `createAppContainer` is a function that returns a React component to take as a parameter the React component created by the `createStackNavigator`, and can be directly exported from `App.js` to be used as our App's root component.
1919

2020
```js
2121
// In App.js in a new project

0 commit comments

Comments
 (0)