Skip to content

Commit

Permalink
feat(avatar): add status indicator support in avatar
Browse files Browse the repository at this point in the history
  • Loading branch information
anuradha9712 committed Nov 29, 2024
1 parent 9d072e5 commit 56e0f79
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/components/atoms/avatar/Avatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,9 @@ export const Avatar = (props: AvatarProps) => {
)}
{presence && <span className={presenceClassNames} />}
<span className={statusHintClassName}>
<Icon name="done" size={12} appearance="white" type="rounded" />
<Tooltip tooltip='verified'>

Check failure on line 213 in core/components/atoms/avatar/Avatar.tsx

View workflow job for this annotation

GitHub Actions / lint, test and build

Replace `'verified'` with `"verified"`
<Icon name="done" size={12} appearance="white" type="rounded" className='bg-warning' />

Check failure on line 214 in core/components/atoms/avatar/Avatar.tsx

View workflow job for this annotation

GitHub Actions / lint, test and build

Replace `'bg-warning'` with `"bg-warning"`
</Tooltip>
</span>
</span>
);
Expand Down

0 comments on commit 56e0f79

Please sign in to comment.