Files
discord-decomp/_bundle/Link.jsx
T
2026-11-01 12:12:55 +02:00

22 lines
558 B
React

// Metro module 1556 (f1557).
import { Text, Platform } from "react-native";
import useLinkProps from "./useLinkProps";
Platform;
export default function Link({ to, action, ...rest }) {
let c13113_0 = rest;
const linkProps = useLinkProps({
to,
action
});
let c13113_1 = linkProps;
return <Text {...linkProps} {...rest} onPress={(event) => {
if ("onPress" in c13113_0) {
const onPress2 = c13113_0.onPress;
if (onPress2 != null) {
onPress2.call(c13113_0, event);
}
}
c13113_1.onPress(event);
}} />;
};