Skip to content

Commit

Permalink
docs(avatar): update docs with Placeholder Initials for Avatar
Browse files Browse the repository at this point in the history
Update the docs with newly added feature, that allows usage of initials as a placeholder for
`Avatar` component

themesberg#357
  • Loading branch information
iamargentum committed Oct 9, 2022
1 parent b9ef720 commit 3eb6454
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/docs/pages/AvatarPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ const AvatarPage: FC = () => {
</div>
),
},
{
title: 'Placeholder Initials',
code: (
<div className="flex flex-wrap gap-2">
<Avatar placeholderInitials="RR" />
</div>
),
},
{
title: 'Dot indicator',
code: (
Expand Down

0 comments on commit 3eb6454

Please sign in to comment.