File tree 3 files changed +2462
-715
lines changed
3 files changed +2462
-715
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @code4rena/components-library" ,
3
- "version" : " 4.6.0 " ,
3
+ "version" : " 4.6.1 " ,
4
4
"description" : " Code4rena's official components library " ,
5
5
"types" : " ./dist/lib.d.ts" ,
6
6
"exports" : {
Original file line number Diff line number Diff line change @@ -49,16 +49,7 @@ const generateColor = (str: string) => {
49
49
return pastelColors [ index ] ;
50
50
} ;
51
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
- */
52
+ /** @deprecated */
62
53
export const Avatar = ( {
63
54
imgElement,
64
55
name,
You can’t perform that action at this time.
0 commit comments