Skip to content

Commit f10bef6

Browse files
committed
docs: Fix missing NavigationContainer imports in multiple drawers examples
1 parent 69ecbcd commit f10bef6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎versioned_docs/version-6.x/multiple-drawers.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import * as React from 'react';
2020
import { Button, View } from 'react-native';
2121
import { Drawer } from 'react-native-drawer-layout';
2222
import { createDrawerNavigator } from '@react-navigation/drawer';
23+
import { NavigationContainer } from '@react-navigation/native';
2324

2425
function HomeScreen({ navigation }) {
2526
return (
@@ -73,6 +74,7 @@ import * as React from 'react';
7374
import { Button, View } from 'react-native';
7475
import { Drawer } from 'react-native-drawer-layout';
7576
import { createDrawerNavigator } from '@react-navigation/drawer';
77+
import { NavigationContainer } from '@react-navigation/native';
7678

7779
const RightDrawerContext = React.createContext();
7880

0 commit comments

Comments
 (0)