diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-07-30 21:05:45 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-30 11:05:45 -0700 |
commit | 25e60548c41949e7ad45d043cbdf8b8cfa3e036a (patch) | |
tree | ca5b9327203c98ce573f2c73340b61bc83c0dea1 /src/view/com/util/Link.tsx | |
parent | fade51e9eba84cfba1a8797aafc4958ab3764deb (diff) | |
download | voidsky-25e60548c41949e7ad45d043cbdf8b8cfa3e036a.tar.zst |
Mark old components as deprecated (#8747)
* mark a bunch of stuff as deprecated * mark s as deprecated (serverence reference????) * rm type import
Diffstat (limited to 'src/view/com/util/Link.tsx')
-rw-r--r-- | src/view/com/util/Link.tsx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/view/com/util/Link.tsx b/src/view/com/util/Link.tsx index 496b77182..33f9b41d8 100644 --- a/src/view/com/util/Link.tsx +++ b/src/view/com/util/Link.tsx @@ -56,6 +56,9 @@ interface Props extends React.ComponentProps<typeof TouchableOpacity> { onBeforePress?: () => void } +/** + * @deprecated use Link from `#/components/Link.tsx` instead + */ export const Link = memo(function Link({ testID, style, @@ -156,6 +159,9 @@ export const Link = memo(function Link({ ) }) +/** + * @deprecated use InlineLinkText from `#/components/Link.tsx` instead + */ export const TextLink = memo(function TextLink({ testID, type = 'md', @@ -301,6 +307,9 @@ interface TextLinkOnWebOnlyProps extends TextProps { onPointerEnter?: () => void anchorNoUnderline?: boolean } +/** + * @deprecated use WebOnlyInlineLinkText from `#/components/Link.tsx` instead + */ export const TextLinkOnWebOnly = memo(function DesktopWebTextLink({ testID, type = 'md', |