about summary refs log tree commit diff
path: root/src/view/com/util/text
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2025-07-30 21:05:45 +0300
committerGitHub <noreply@github.com>2025-07-30 11:05:45 -0700
commit25e60548c41949e7ad45d043cbdf8b8cfa3e036a (patch)
treeca5b9327203c98ce573f2c73340b61bc83c0dea1 /src/view/com/util/text
parentfade51e9eba84cfba1a8797aafc4958ab3764deb (diff)
downloadvoidsky-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/text')
-rw-r--r--src/view/com/util/text/Text.tsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/view/com/util/text/Text.tsx b/src/view/com/util/text/Text.tsx
index 785cef09a..1e49605f4 100644
--- a/src/view/com/util/text/Text.tsx
+++ b/src/view/com/util/text/Text.tsx
@@ -1,16 +1,16 @@
 import React from 'react'
-import {StyleSheet, TextProps} from 'react-native'
+import {StyleSheet, type TextProps} from 'react-native'
 import {UITextView} from 'react-native-uitextview'
 
 import {lh, s} from '#/lib/styles'
-import {TypographyVariant, useTheme} from '#/lib/ThemeContext'
+import {type TypographyVariant, useTheme} from '#/lib/ThemeContext'
 import {logger} from '#/logger'
 import {isIOS, isWeb} from '#/platform/detection'
 import {applyFonts, useAlf} from '#/alf'
 import {
   childHasEmoji,
   renderChildrenWithEmoji,
-  StringChild,
+  type StringChild,
 } from '#/alf/typography'
 
 export type CustomTextProps = Omit<TextProps, 'children'> & {
@@ -32,7 +32,7 @@ export type CustomTextProps = Omit<TextProps, 'children'> & {
 
 export {Text_DEPRECATED as Text}
 /**
- * @deprecated use Text from Typography instead.
+ * @deprecated use Text from `#/components/Typography.tsx` instead
  */
 function Text_DEPRECATED({
   type = 'md',