about summary refs log tree commit diff
path: root/src/view/com/auth/util/HelpTip.tsx
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2025-05-07 21:44:38 +0300
committerGitHub <noreply@github.com>2025-05-07 11:44:38 -0700
commitf1372abec5943076d0cd0409db04c6b1587cd241 (patch)
treeb86130c59ca3fa6147b2b66f91b87dea55a3d4cd /src/view/com/auth/util/HelpTip.tsx
parent0f96669f8c0d578d888c06496d97929130d34a1f (diff)
downloadvoidsky-f1372abec5943076d0cd0409db04c6b1587cd241.tar.zst
delete unused auth components (#8334)
Diffstat (limited to 'src/view/com/auth/util/HelpTip.tsx')
-rw-r--r--src/view/com/auth/util/HelpTip.tsx37
1 files changed, 0 insertions, 37 deletions
diff --git a/src/view/com/auth/util/HelpTip.tsx b/src/view/com/auth/util/HelpTip.tsx
deleted file mode 100644
index 196f30412..000000000
--- a/src/view/com/auth/util/HelpTip.tsx
+++ /dev/null
@@ -1,37 +0,0 @@
-import {StyleSheet, View} from 'react-native'
-
-import {useColorSchemeStyle} from '#/lib/hooks/useColorSchemeStyle'
-import {InfoCircleIcon} from '#/lib/icons'
-import {colors, s} from '#/lib/styles'
-import {Text} from '#/view/com/util/text/Text'
-
-export function HelpTip({text}: {text: string}) {
-  const bg = useColorSchemeStyle(
-    {backgroundColor: colors.gray1},
-    {backgroundColor: colors.gray8},
-  )
-  const fg = useColorSchemeStyle({color: colors.gray5}, {color: colors.gray4})
-  return (
-    <View style={[styles.helptip, bg]}>
-      <View style={styles.icon}>
-        <InfoCircleIcon size={18} style={fg} strokeWidth={1.5} />
-      </View>
-      <Text type="xs-medium" style={[fg, s.ml5, s.flex1]}>
-        {text}
-      </Text>
-    </View>
-  )
-}
-
-const styles = StyleSheet.create({
-  icon: {
-    width: 18,
-  },
-  helptip: {
-    flexDirection: 'row',
-    alignItems: 'flex-start',
-    borderRadius: 6,
-    paddingHorizontal: 10,
-    paddingVertical: 8,
-  },
-})