-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.js
33 lines (25 loc) · 1.13 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
31
32
33
import * as React from 'react';
import { NavigationContainer } from '@react-navigation/native';
import { createNativeStackNavigator } from '@react-navigation/native-stack';
import HomeView from './src/views/home';
import UtilidadeView from './src/views/utilidade/utilidadepublica';
import HistoriaView from './src/views/historia/historia';
import NoticiasView from './src/views/noticias/noticias';
import ComercioView from './src/views/comercio/comercio';
import UberbairroView from './src/views/uber/uberBairro';
const Stack = createNativeStackNavigator();
function App() {
return (
<NavigationContainer>
<Stack.Navigator>
<Stack.Screen name="Seja bem vindo!" component={HomeView} />
<Stack.Screen name="Utilidade Publica" component={UtilidadeView} />
<Stack.Screen name="Noticias" component={NoticiasView} />
<Stack.Screen name="Historia" component={HistoriaView} />
<Stack.Screen name="Comerciantes Parceiros" component={ComercioView} />
<Stack.Screen name="Uber do Bairro" component={UberbairroView} />
</Stack.Navigator>
</NavigationContainer>
);
}
export default App;