import { createNativeStackNavigator } from "@react-navigation/native-stack"; import { createBottomTabNavigator } from "@react-navigation/bottom-tabs"; import { NavigationContainer } from "@react-navigation/native"; import { useNavigation } from "@react-navigation/native"; import React from "react"; import { View, Text, StyleSheet, TouchableOpacity, Linking} from "react-native"; const Formulario = () => { const currNav = useNavigation() return ( Llenar formulario EPA y DRNA currNav.navigate("Drna")}> Formulario DRNA { Linking.openURL("https://echo.epa.gov/denuncie-violaciones-ambientales"); }}> Formulario EPA ) } export default Formulario const styles = StyleSheet.create({ button: { width:250, alignSelf: 'center', alignItems: 'center', justifyContent: 'center', paddingVertical: 12, paddingHorizontal: 32, borderRadius: 4, elevation: 3, backgroundColor: '#009688', marginTop: "5%" }, text: { fontSize: 16, lineHeight: 21, fontWeight: 'bold', letterSpacing: 0.25, color: 'white', } })