Skip to content

Commit f1c2605

Browse files
authored
fix: add correct size to storybook icon buttons (#16539)
Jaayden and I noticed that the icon button in storybooks didn't look correct. This PR fixes that by adding the correct size argument.
1 parent f650519 commit f1c2605

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

site/src/components/Button/Button.stories.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,20 +96,23 @@ export const DestructiveSmall: Story = {
9696
export const IconButtonDefault: Story = {
9797
args: {
9898
variant: "default",
99+
size: "icon",
99100
children: <PlusIcon />,
100101
},
101102
};
102103

103104
export const IconButtonOutline: Story = {
104105
args: {
105106
variant: "outline",
107+
size: "icon",
106108
children: <PlusIcon />,
107109
},
108110
};
109111

110112
export const IconButtonSubtle: Story = {
111113
args: {
112114
variant: "subtle",
115+
size: "icon",
113116
children: <PlusIcon />,
114117
},
115118
};

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy