We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d606fc9 commit 42637cbCopy full SHA for 42637cb
src/lib/Avatar/Avatar.tsx
@@ -49,16 +49,7 @@ const generateColor = (str: string) => {
49
return pastelColors[index];
50
};
51
52
-/**
53
- * A stylized Avatar component for displaying user avatars.
54
- * This component supports displaying an image avatar or a fallback avatar with initials.
55
- * The fallback avatar is a colored circle with the user's initials.
56
- *
57
- * @param imgElement - An optional image element to use as the avatar.
58
- * @param name - The name of the user. Used to generate initials for the fallback avatar.
59
- * @param size - The size of the avatar in pixels.
60
- * @param round - The border-radius of the avatar in pixels. Use this to make the avatar round.
61
- */
+/** @deprecated */
62
export const Avatar = ({
63
imgElement,
64
name,
0 commit comments