import React from "react"; import { View, Text, StyleSheet, Linking } from "react-native"; export interface OperoPoweredByProps { customStyles?: any; } export const OperoPoweredBy: React.FC = ({ customStyles, }) => { const styles = createStyles(customStyles); const handlePress = () => { Linking.openURL("https://www.opero.pro/"); }; return ( Powered by{" "} opero.pro ); }; const createStyles = (customStyles: any) => StyleSheet.create({ container: { paddingHorizontal: 16, paddingVertical: 8, alignItems: "center", }, text: { fontSize: 12, color: customStyles?.poweredByTextColor || "#6b7280", textAlign: "center", }, link: { color: customStyles?.poweredByLinkColor || "#6b7280", fontWeight: "bold", textDecorationLine: "underline", }, });