Skip to content

Commit d288e3b

Browse files
authored
Update hello-react-navigation.md (react-navigation#816)
1 parent e9e34f6 commit d288e3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

versioned_docs/version-5.x/hello-react-navigation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,6 @@ The natural question at this point is: "how do I go from the `Home` route to the
143143

144144
- React Native doesn't have a built-in API for navigation like a web browser does. React Navigation provides this for you, along with the iOS and Android gestures and animations to transition between screens.
145145
- `Stack.Navigator` is a component that takes route configuration as its children with additional props for configuration and renders our content.
146-
- Each `Stack.Screen` component take a `name` prop which refers to the name of the route and `component` prop which specifies the component to render for the route. These are the 2 required props.
146+
- Each `Stack.Screen` component takes a `name` prop which refers to the name of the route and `component` prop which specifies the component to render for the route. These are the 2 required props.
147147
- To specify what the initial route in a stack is, provide an `initialRouteName` as the prop for the navigator.
148148
- To specify screen-specific options, we can pass an `options` prop to `Stack.Screen`, and for common options, we can pass `screenOptions` to `Stack.Navigator`

0 commit comments

Comments
 (0)