diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-10-30 17:44:58 -0700 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2023-10-30 17:44:58 -0700 |
commit | 9826e7c7b99b16d77534473d822642c7cbf1f3fe (patch) | |
tree | 2cfeceb31d2c98b104ca616a2d2579793d612818 /src/view/com/util/Link.tsx | |
parent | 871ded193ce64b3d586d4a07b326e5ee10f388b9 (diff) | |
download | voidsky-9826e7c7b99b16d77534473d822642c7cbf1f3fe.tar.zst |
Rename component to match new behavior
Diffstat (limited to 'src/view/com/util/Link.tsx')
-rw-r--r-- | src/view/com/util/Link.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/view/com/util/Link.tsx b/src/view/com/util/Link.tsx index 94fe75536..1777f6659 100644 --- a/src/view/com/util/Link.tsx +++ b/src/view/com/util/Link.tsx @@ -221,7 +221,7 @@ export const TextLink = memo(function TextLink({ /** * Only acts as a link on desktop web */ -interface DesktopWebTextLinkProps extends TextProps { +interface TextLinkOnWebOnlyProps extends TextProps { testID?: string type?: TypographyVariant style?: StyleProp<TextStyle> @@ -234,7 +234,7 @@ interface DesktopWebTextLinkProps extends TextProps { accessibilityHint?: string title?: string } -export const DesktopWebTextLink = memo(function DesktopWebTextLink({ +export const TextLinkOnWebOnly = memo(function DesktopWebTextLink({ testID, type = 'md', style, @@ -243,7 +243,7 @@ export const DesktopWebTextLink = memo(function DesktopWebTextLink({ numberOfLines, lineHeight, ...props -}: DesktopWebTextLinkProps) { +}: TextLinkOnWebOnlyProps) { if (isWeb) { return ( <TextLink |