feat: update AvatarPlaceholder to take size prop

This commit is contained in:
Caidan Williams
2025-07-25 17:19:13 -07:00
committed by Austin McKinley
parent 4a1c529ae9
commit 0046b00780
+3 -3
View File
@@ -174,7 +174,7 @@ export function Avatar({
) )
} }
export function AvatarPlaceholder() { export function AvatarPlaceholder({size = 40}: {size?: number}) {
const t = useTheme() const t = useTheme()
return ( return (
<View <View
@@ -182,8 +182,8 @@ export function AvatarPlaceholder() {
a.rounded_full, a.rounded_full,
t.atoms.bg_contrast_25, t.atoms.bg_contrast_25,
{ {
width: 40, width: size,
height: 40, height: size,
}, },
]} ]}
/> />