-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.js
30 lines (24 loc) · 1.21 KB
/
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
27
28
29
30
import {HomeScreen, LoginScreen, SignupScreen, ContactScreen,DetailedScreen} from './screens'
import {HistoryScreen,CustomerServices,Installation,UsageGraph,InternetBills} from './screens/Screen2'
import { NavigationContainer } from '@react-navigation/native';
import { createNativeStackNavigator } from '@react-navigation/native-stack';
const Stack = createNativeStackNavigator();
function App() {
return (
<NavigationContainer>
<Stack.Navigator initialRouteName='Home'>
<Stack.Screen name="Home" component={HomeScreen} />
<Stack.Screen name="Login" component={LoginScreen}/>
<Stack.Screen name="SignUP" component={SignupScreen}/>
<Stack.Screen name="Contacts" component={ContactScreen}/>
<Stack.Screen name="Installation" component={Installation}/>
<Stack.Screen name="Detailed" component={DetailedScreen}/>
<Stack.Screen name="History" component={HistoryScreen} />
<Stack.Screen name="customer" component={CustomerServices}/>
<Stack.Screen name="UsageGraph" component={UsageGraph} />
<Stack.Screen name="InternetBills" component={InternetBills}/>
</Stack.Navigator>
</NavigationContainer>
);
}
export default App;