Skip to content

An open source design system that's fully customizable and agent ready

TypeScript

fix(storybook): use new abbreviated size scale in AvatarGroup CircleToPill story (#4220)

Cindy Zhang5d1b4f5219fa
diff --git a/apps/storybook/stories/AvatarGroup.stories.tsx b/apps/storybook/stories/AvatarGroup.stories.tsx
index 71339c2738..170ecaf80a 100644
--- a/apps/storybook/stories/AvatarGroup.stories.tsx
+++ b/apps/storybook/stories/AvatarGroup.stories.tsx
@@ -186,7 +186,7 @@ export const CircleToPill: Story = {
<div {...stylex.props(storyStyles.storyWrapper)}>
<div>
<h4 {...stylex.props(storyStyles.heading)}>Short count (circle)</h4>
- <AvatarGroup size="medium">
+ <AvatarGroup size="md">
{USERS.slice(0, 3).map(u => (
<Avatar key={u.key} src={u.src} name={u.name} />
))}
@@ -195,7 +195,7 @@ export const CircleToPill: Story = {
</div>
<div>
<h4 {...stylex.props(storyStyles.heading)}>Long count (pill)</h4>
- <AvatarGroup size="medium">
+ <AvatarGroup size="md">
{USERS.slice(0, 3).map(u => (
<Avatar key={u.key} src={u.src} name={u.name} />
))}