Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f1c2605

Browse files
authored
fix: add correct size to storybook icon buttons (coder#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

+3
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)