Skip to content

[Icons] fix/extend bookmark icons #103

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@code4rena/components-library",
"version": "4.6.0",
"version": "4.6.1",
"description": "Code4rena's official components library ",
"types": "./dist/lib.d.ts",
"exports": {
Expand Down
11 changes: 1 addition & 10 deletions src/lib/Avatar/Avatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,7 @@ const generateColor = (str: string) => {
return pastelColors[index];
};

/**
* A stylized Avatar component for displaying user avatars.
* This component supports displaying an image avatar or a fallback avatar with initials.
* The fallback avatar is a colored circle with the user's initials.
*
* @param imgElement - An optional image element to use as the avatar.
* @param name - The name of the user. Used to generate initials for the fallback avatar.
* @param size - The size of the avatar in pixels.
* @param round - The border-radius of the avatar in pixels. Use this to make the avatar round.
*/
/** @deprecated */
export const Avatar = ({
imgElement,
name,
Expand Down
Loading