This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
// 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);
}} />;
};