Skip to content

Commit 85a458b

Browse files
authored
Merge pull request #103 from code4rena-dev/samus/fix-bookmark-icons
[Icons] fix/extend bookmark icons
2 parents fa47bf0 + 672b403 commit 85a458b

File tree

3 files changed

+2462
-715
lines changed

3 files changed

+2462
-715
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@code4rena/components-library",
3-
"version": "4.6.0",
3+
"version": "4.6.1",
44
"description": "Code4rena's official components library ",
55
"types": "./dist/lib.d.ts",
66
"exports": {

src/lib/Avatar/Avatar.tsx

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,7 @@ const generateColor = (str: string) => {
4949
return pastelColors[index];
5050
};
5151

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 */
6253
export const Avatar = ({
6354
imgElement,
6455
name,

0 commit comments

Comments
 (0)