Skip to content

Commit

Permalink
docs(AvatarGroup): fix disabled story example (#2640)
Browse files Browse the repository at this point in the history
  • Loading branch information
shlomitc authored Dec 10, 2024
1 parent 0986200 commit 14a51b0
Showing 1 changed file with 23 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -295,24 +295,29 @@ export const HoverVsClickable: Story = {
);
}
};
export const Disabled = () => (
<AvatarGroup size="large" max={4} disabled>
<Avatar type="img" src={person1} ariaLabel="Julia Martinez" />
<Avatar type="img" src={person2} ariaLabel="Sophia Johnson" />
<Avatar type="img" src={person3} ariaLabel="Marco DiAngelo" />
<Avatar type="img" src={person4} ariaLabel="Liam Caldwell" />
<Avatar type="img" src={person1} ariaLabel="Julia Martinez" />
<Avatar type="img" src={person2} ariaLabel="Sophia Johnson" />
<Avatar type="img" src={person3} ariaLabel="Marco DiAngelo" />
<Avatar type="img" src={person4} ariaLabel="Liam Caldwell" />
<Avatar type="img" src={person1} ariaLabel="Julia Martinez" />
<Avatar type="img" src={person2} ariaLabel="Sophia Johnson" />
<Avatar type="img" src={person3} ariaLabel="Marco DiAngelo" />
<Avatar type="img" src={person4} ariaLabel="Liam Caldwell" />
<Avatar type="img" src={person1} ariaLabel="Julia Martinez" />
<Avatar type="img" src={person2} ariaLabel="Sophia Johnson" />
</AvatarGroup>
);

export const Disabled: Story = {
render: () => {
return (
<AvatarGroup size="large" max={4} disabled>
<Avatar type="img" src={person1} ariaLabel="Julia Martinez" />
<Avatar type="img" src={person2} ariaLabel="Sophia Johnson" />
<Avatar type="img" src={person3} ariaLabel="Marco DiAngelo" />
<Avatar type="img" src={person4} ariaLabel="Liam Caldwell" />
<Avatar type="img" src={person1} ariaLabel="Julia Martinez" />
<Avatar type="img" src={person2} ariaLabel="Sophia Johnson" />
<Avatar type="img" src={person3} ariaLabel="Marco DiAngelo" />
<Avatar type="img" src={person4} ariaLabel="Liam Caldwell" />
<Avatar type="img" src={person1} ariaLabel="Julia Martinez" />
<Avatar type="img" src={person2} ariaLabel="Sophia Johnson" />
<Avatar type="img" src={person3} ariaLabel="Marco DiAngelo" />
<Avatar type="img" src={person4} ariaLabel="Liam Caldwell" />
<Avatar type="img" src={person1} ariaLabel="Julia Martinez" />
<Avatar type="img" src={person2} ariaLabel="Sophia Johnson" />
</AvatarGroup>
);
}
};

export const LastSeenUsers: Story = {
render: () => (
Expand Down

0 comments on commit 14a51b0

Please sign in to comment.