Skip to content

Commit e899807

Browse files
mattsidjohnbrentvatne
authored andcommitted
Updated Website version for 2.x (react-navigation#337)
Added import for createStackNavigator so the example will work.
1 parent 9ba5084 commit e899807

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/versioned_docs/version-2.x/app-containers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Containers are responsible for managing your app state and linking your top-leve
1212
A quick example of `createAppContainer`:
1313

1414
```
15-
import { createAppContainer } from 'react-navigation';
15+
import { createAppContainer, createStackNavigator } from 'react-navigation';
1616
// you can also import from @react-navigation/native
1717
1818
const AppNavigator = createStackNavigator(...);

0 commit comments

Comments
 (0)