-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.tsx
48 lines (41 loc) · 1.98 KB
/
App.tsx
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// App.js
import React, { useEffect } from 'react';
import { NavigationContainer } from '@react-navigation/native';
import { createStackNavigator } from '@react-navigation/stack';
import HomeScreen from './screens/HomeScreen';
import AuthScreen from './screens/AuthScreen';
import MenuScreen from './screens/MenuScreen';
import TarifarioScreen from './screens/TarifarioScreen';
import ConsultaLicenciaScreen from './screens/ConsultaLicenciaScreen';
import AplicarMultaScreen from './screens/AplicarMultaScreen';
import MultasRegistradasScreen from './screens/MultasRegistradasScreen';
import MapaMultasScreen from './screens/MapaMultasScreen';
import NoticiasScreen from './screens/NoticiasScreen';
import EstadoClimaScreen from './screens/EstadoClimaScreen';
import HoroscopoScreen from './screens/HoroscopoScreen';
import ConsultaPlacaScreen from './screens/ConsultaPlacaScreen';
const Stack = createStackNavigator();
export default function App() {
useEffect(() => {
return () => {
};
}, []);
return (
<NavigationContainer>
<Stack.Navigator initialRouteName="Autenticación">
<Stack.Screen name="ORC" component={AuthScreen} />
<Stack.Screen name="Inicio" component={HomeScreen} />
<Stack.Screen name="Menú" component={MenuScreen} />
<Stack.Screen name="Tarifario" component={TarifarioScreen} />
<Stack.Screen name="ConsultaPlaca" component={ConsultaPlacaScreen} />
<Stack.Screen name="ConsultaLicencia" component={ConsultaLicenciaScreen} />
<Stack.Screen name="AplicarMulta" component={AplicarMultaScreen} />
<Stack.Screen name="MultasRegistradas" component={MultasRegistradasScreen} />
<Stack.Screen name="MapaMultas" component={MapaMultasScreen} />
<Stack.Screen name="Noticias" component={NoticiasScreen} />
<Stack.Screen name="EstadoClima" component={EstadoClimaScreen} />
<Stack.Screen name="Horoscopo" component={HoroscopoScreen} />
</Stack.Navigator>
</NavigationContainer>
);
}