// Metro module 13237 (f13238). import { useContext } from "react"; import { createStyles } from "../../design/components/Styles/native/createStyles"; import Module712 from "../../_bundle/Module712"; import { AccessibilityPreferencesContext } from "../../_bundle/Module3908"; import Linking from "../../lib/native/Linking"; import Module3888 from "../../_bundle/Module3888"; import { LegacyText } from "../../design/void/native"; const useStyles = createStyles((a0) => ({ link: { color: Module712.colors.TEXT_LINK, textDecorationLine: a0 ? "underline" : "none" } })); export function IntlLink(props) { const { target, children } = props; return Linking.openURL(Module3888.sanitizeUrl(target)) : typeof target === "object" ? target.onClick != null ? target.onClick : target : target} style={useStyles(useContext(AccessibilityPreferencesContext).alwaysShowLinkDecorations).link}>{children}; }