diff options
author | Caidan Williams <caidan@internet.dev> | 2025-07-25 17:19:13 -0700 |
---|---|---|
committer | Caidan Williams <caidan@internet.dev> | 2025-07-29 17:37:01 -0700 |
commit | 4e507caa7c5c11c41d44364270180fb4186235d1 (patch) | |
tree | f1c3c00f9180d43461e79a96d6e9468d8cd35c8f /src | |
parent | 87f2bc5be3b082d6dfb79108e688f9402ca7c996 (diff) | |
download | voidsky-4e507caa7c5c11c41d44364270180fb4186235d1.tar.zst |
feat: update AvatarPlaceholder to take size prop
Diffstat (limited to 'src')
-rw-r--r-- | src/components/ProfileCard.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/ProfileCard.tsx b/src/components/ProfileCard.tsx index 99a68083a..65e20ba9a 100644 --- a/src/components/ProfileCard.tsx +++ b/src/components/ProfileCard.tsx @@ -174,7 +174,7 @@ export function Avatar({ ) } -export function AvatarPlaceholder() { +export function AvatarPlaceholder({size = 40}: {size?: number}) { const t = useTheme() return ( <View @@ -182,8 +182,8 @@ export function AvatarPlaceholder() { a.rounded_full, t.atoms.bg_contrast_25, { - width: 40, - height: 40, + width: size, + height: size, }, ]} /> |