mirror of
https://github.com/lemeow125/Reactnative-notesapp.git
synced 2025-05-16 19:38:47 +08:00
Added more missing pages
This commit is contained in:
parent
cf28bae964
commit
6bb9897e31
7 changed files with 92 additions and 69 deletions
9
App.tsx
9
App.tsx
|
@ -2,11 +2,14 @@ import 'react-native-gesture-handler';
|
|||
import {NavigationContainer} from '@react-navigation/native';
|
||||
import {createDrawerNavigator} from '@react-navigation/drawer';
|
||||
|
||||
import CustomDrawerContent from './src/Components/Drawer/DrawerScreenSettings/CustomDrawerContent/CustomDrawerContent';
|
||||
import DrawerScreenSettings from './src/Components/Drawer/DrawerScreenSettings/DrawerScreenSettings';
|
||||
|
||||
import Home from './src/Routes/Home/Home';
|
||||
import UserInfo from './src/Routes/UserInfo/UserInfo';
|
||||
import AddNote from './src/Routes/AddNote/AddNote';
|
||||
import CustomDrawerContent from './src/Components/Drawer/DrawerScreenSettings/CustomDrawerContent/CustomDrawerContent';
|
||||
import DrawerScreenSettings from './src/Components/Drawer/DrawerScreenSettings/DrawerScreenSettings';
|
||||
import Login from './src/Routes/Login/Login';
|
||||
import Register from './src/Routes/Register/Register';
|
||||
|
||||
const Drawer = createDrawerNavigator();
|
||||
|
||||
|
@ -20,6 +23,8 @@ export default function App() {
|
|||
<Drawer.Screen name="Home" component={Home} />
|
||||
<Drawer.Screen name="Add Note" component={AddNote} />
|
||||
<Drawer.Screen name="User Info" component={UserInfo} />
|
||||
<Drawer.Screen name="Login" component={Login} />
|
||||
<Drawer.Screen name="Register" component={Register} />
|
||||
</Drawer.Navigator>
|
||||
</NavigationContainer>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue