Skip to content

Commit

Permalink
wip: create Avatar component
Browse files Browse the repository at this point in the history
  • Loading branch information
adrians5j committed Sep 10, 2024
1 parent a95a914 commit 5f002a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/src/Avatar/Avatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const Avatar = (props: AvatarProps) => {
className={className}
style={{ width, height, ...style }}
image={<AdminUiAvatar.Image src={src} alt={alt} width={width} height={height} />}
fallback={<AdminUiAvatar.Fallback content={fallbackText} delayMs={0} />}
fallback={<AdminUiAvatar.Fallback delayMs={0}>{fallbackText}</AdminUiAvatar.Fallback>}
/>
);
};

0 comments on commit 5f002a4

Please sign in to comment.