An open source design system that's fully customizable and agent ready
TypeScript
fix(storybook): remove isIconOnly from Button Truncation story (#4081)
prajwal rautf87204e96915
diff --git a/apps/storybook/stories/Button.stories.tsx b/apps/storybook/stories/Button.stories.tsxindex 0fccc7781c..63b9ab7e46 100644--- a/apps/storybook/stories/Button.stories.tsx+++ b/apps/storybook/stories/Button.stories.tsx@@ -270,11 +270,7 @@ export const LinkButton: Story = {rel="noopener noreferrer"variant="secondary"/>- <Button- label="Ghost link"- href="https://example.com"- variant="ghost"- />+ <Button label="Ghost link" href="https://example.com" variant="ghost" /></div><div style={{display: 'flex', gap: '12px', alignItems: 'center'}}><Button@@ -326,7 +322,6 @@ export const Truncation: Story = {label="A very long button label that overflows"variant="primary"icon={<Cog6ToothIcon style={{width: 16, height: 16}} />}- isIconOnly/></div></div>@@ -353,7 +348,6 @@ export const Truncation: Story = {label="A very long button label that shows fully"variant="primary"icon={<Cog6ToothIcon style={{width: 16, height: 16}} />}- isIconOnly/></div></div>