-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
26 lines (23 loc) · 909 Bytes
/
App.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import React from 'react';
import {StyleSheet, Text, View, SafeAreaView, ScrollView} from 'react-native';
import Homepage from './Pages/Homepage';
import Viewpage from './Pages/Viewpage';
import Detailspage from './Pages/Detailspage';
import Informationpage from './Pages/Informationpage';
import {NavigationContainer} from '@react-navigation/native';
import {createNativeStackNavigator} from '@react-navigation/native-stack';
const App = () => {
const Stack = createNativeStackNavigator();
return (
<NavigationContainer>
<Stack.Navigator>
<Stack.Screen name="Home" component={Homepage} />
<Stack.Screen name="View" component={Viewpage} />
<Stack.Screen name="Details" component={Detailspage} />
<Stack.Screen name="Information" component={Informationpage} />
</Stack.Navigator>
</NavigationContainer>
// <Homepage />
);
};
export default App;