Skip to content

Commit 1e11635

Browse files
authored
add import to 5.x example (react-navigation#825)
rebase of react-navigation#680
1 parent 04fb47b commit 1e11635

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

versioned_docs/version-5.x/upgrading-from-4.x.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ The main concepts are the same. There are navigators and screens, nesting works
8080
- `defaultNavigationOptions` becomes `screenOptions` prop on `Navigator`
8181

8282
```js
83+
import { createStackNavigator } from '@react-navigation/stack';
8384
const Stack = createStackNavigator();
8485

8586
function RootStack() {

0 commit comments

Comments
 (0)