From e4a6c47e2804a58b8aa8dffa39300bae5f9bfaed Mon Sep 17 00:00:00 2001 From: Brent Vatne Date: Mon, 5 Feb 2018 14:48:30 -0800 Subject: [PATCH] Use a stack inside of drawer --- .../NavigationPlayground/js/Drawer.js | 24 ++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/packages/react-navigation/examples/NavigationPlayground/js/Drawer.js b/packages/react-navigation/examples/NavigationPlayground/js/Drawer.js index 7a78211a..4d15c2a5 100644 --- a/packages/react-navigation/examples/NavigationPlayground/js/Drawer.js +++ b/packages/react-navigation/examples/NavigationPlayground/js/Drawer.js @@ -4,7 +4,7 @@ import React from 'react'; import { Button, Platform, ScrollView, StatusBar } from 'react-native'; -import { DrawerNavigator, SafeAreaView } from 'react-navigation'; +import { StackNavigator, DrawerNavigator, SafeAreaView } from 'react-navigation'; import MaterialIcons from 'react-native-vector-icons/MaterialIcons'; import SampleText from './SampleText'; @@ -16,6 +16,10 @@ const MyNavScreen = ({ navigation, banner }) => ( onPress={() => navigation.navigate('DrawerOpen')} title="Open drawer" /> +