Prefetch profile links on web (#2634)

This commit is contained in:
dan
2024-01-26 05:23:56 +00:00
committed by GitHub
parent 157404132f
commit 23a4bbf608
4 changed files with 34 additions and 1 deletions
+2
View File
@@ -47,6 +47,7 @@ interface Props extends ComponentProps<typeof TouchableOpacity> {
asAnchor?: boolean
anchorNoUnderline?: boolean
navigationAction?: 'push' | 'replace' | 'navigate'
onPointerEnter?: () => void
}
export const Link = memo(function Link({
@@ -264,6 +265,7 @@ interface TextLinkOnWebOnlyProps extends TextProps {
accessibilityHint?: string
title?: string
navigationAction?: 'push' | 'replace' | 'navigate'
onPointerEnter?: () => void
}
export const TextLinkOnWebOnly = memo(function DesktopWebTextLink({
testID,