From d36acc4fa88218151d4a3b27c9564d30ca861395 Mon Sep 17 00:00:00 2001 From: saihaj Date: Wed, 16 Sep 2020 16:46:36 -0500 Subject: [PATCH] feat: setup stack navigator --- src/App.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 13e72279..14db1268 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,20 +1,20 @@ import React from 'react' import { NavigationContainer } from '@react-navigation/native' -import { createDrawerNavigator } from '@react-navigation/drawer' +import { createStackNavigator } from '@react-navigation/stack' import HomeScreen from './screens/HomeScreen' import SearchScreen from './screens/SearchScreen' import Screens from './lib/screens' -const Drawer = createDrawerNavigator() +const Stack = createStackNavigator() const App = () => ( - - - - + + + + )