123456789101112131415161718192021222324252627 |
- import React from "react";
- import { createBottomTabNavigator } from "@react-navigation/bottom-tabs";
- import { NavigationContainer } from "@react-navigation/native";
-
- import Denuncias from "./screens/Denuncias";
- import Derechos from "./screens/Derechos";
- import Analisis from "./screens/Analisis";
-
- const Tab = createBottomTabNavigator();
-
- function Tabs() {
- return (
- <Tab.Navigator>
- <Tab.Screen name="Denuncias" component={Denuncias} />
- <Tab.Screen name="Derechos" component={Derechos} />
- <Tab.Screen name="Analisis" component={Analisis} />
- </Tab.Navigator>
- );
- }
-
- export default function Navigation(){
- return (
- <NavigationContainer>
- <Tabs />
- </NavigationContainer>
- );
- }
|