Skip to content

Commit

Permalink
feat(content): Add example Avatar with alt
Browse files Browse the repository at this point in the history
  • Loading branch information
tulup-conner committed Apr 25, 2022
1 parent 6d386bd commit b619076
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/pages/AvatarPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,16 @@ const AvatarPage: FC = () => {
</div>
),
},
{
title: 'Alternative text',
code: (
<Avatar
alt="Default avatar with alt text"
img="https://flowbite.com/docs/images/people/profile-picture-5.jpg"
rounded
/>
),
},
];

return <DemoPage examples={examples} />;
Expand Down

0 comments on commit b619076

Please sign in to comment.