Skip to content
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

docs(AvatarGroup): fix disabled story example #2640

Merged
merged 1 commit into from
Dec 10, 2024
Merged
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
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
Loading