about summary refs log tree commit diff
path: root/src/components/ProfileCard.tsx
diff options
context:
space:
mode:
authorCaidan <caidan@internet.dev>2025-08-21 11:56:17 -0700
committerGitHub <noreply@github.com>2025-08-21 21:56:17 +0300
commiteabcd9150d3513988f5b3c47b95a601d5f1bf738 (patch)
tree1a07a27f9d6c4fb9d675f75e9559071a408077f5 /src/components/ProfileCard.tsx
parentd900d0b7a79f2edfbd3865c2484694a0de61a35c (diff)
downloadvoidsky-eabcd9150d3513988f5b3c47b95a601d5f1bf738.tar.zst
[APP-1357] profile header follow recommendations (#8784)
Diffstat (limited to 'src/components/ProfileCard.tsx')
-rw-r--r--src/components/ProfileCard.tsx18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/components/ProfileCard.tsx b/src/components/ProfileCard.tsx
index f12d922fd..5c99474a2 100644
--- a/src/components/ProfileCard.tsx
+++ b/src/components/ProfileCard.tsx
@@ -561,6 +561,24 @@ export function FollowButtonInner({
   )
 }
 
+export function FollowButtonPlaceholder({style}: ViewStyleProp) {
+  const t = useTheme()
+
+  return (
+    <View
+      style={[
+        a.rounded_sm,
+        t.atoms.bg_contrast_25,
+        a.w_full,
+        {
+          height: 33,
+        },
+        style,
+      ]}
+    />
+  )
+}
+
 export function Labels({
   profile,
   moderationOpts,