about summary refs log tree commit diff
path: root/src/components/Link.tsx
diff options
context:
space:
mode:
authordan <dan.abramov@gmail.com>2024-04-04 21:34:55 +0100
committerGitHub <noreply@github.com>2024-04-04 21:34:55 +0100
commit3915bb43169ae501d81571c5e1efa12cf0e24dbb (patch)
treebe2f7bed7c842be71922f2793b4b4a20cd6fbc24 /src/components/Link.tsx
parentc190fd58ec82b36ea8124902cad34acc4a5b5ac0 (diff)
downloadvoidsky-3915bb43169ae501d81571c5e1efa12cf0e24dbb.tar.zst
Enforce Text suffix for Text-rendering components (#3407)
* Rm unused

* Add Text suffix to Title/Description

* Add Text suffix to text components

* Add Text suffix to props

* Validate Text components returns
Diffstat (limited to 'src/components/Link.tsx')
-rw-r--r--src/components/Link.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Link.tsx b/src/components/Link.tsx
index 1a494626f..65a015ba3 100644
--- a/src/components/Link.tsx
+++ b/src/components/Link.tsx
@@ -250,7 +250,7 @@ export type InlineLinkProps = React.PropsWithChildren<
   BaseLinkProps & TextStyleProp & Pick<TextProps, 'selectable'>
 >
 
-export function InlineLink({
+export function InlineLinkText({
   children,
   to,
   action = 'push',