import { useNavigation } from '@react-navigation/native'; import React from 'react' import { View, Text, StyleSheet, Pressable, ImageBackground } from 'react-native'; import Icon from 'react-native-vector-icons/FontAwesome'; export const LandingDosBotones = () => { const navigate = useNavigation(); return ( <> Nuestros Servicios navigate.navigate("CamaraQrNavigate")} style={styles.botones}> Codigo QR navigate.navigate("ContactosPagar")} style={styles.botones}> Transacciones ) } const styles = StyleSheet.create({ container: { width: '100%', height: 700, display: 'flex', justifyContent: 'center', alignItems: 'center', }, image: { width: '100%', height: '100%', alignItems: 'center', }, botones: { margin: 50, display: 'flex', justifyContent: 'center', alignItems: 'center', backgroundColor: '#FFFFFe', width: 150, height: 150, shadowColor: "#000", shadowOffset: { width: 0, height: 2, }, shadowOpacity: 0.23, shadowRadius: 2.62, elevation: 4, }, titulos: { display: 'flex', width: '100%', padding: 10, textAlign: 'center', fontSize: 20, backgroundColor: '#572364', color: 'white', }, textos: { fontSize: 15, color: '#572364', fontweight: 'bold', } });