mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
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.
This commit is contained in:
@@ -96,6 +96,7 @@ export const DestructiveSmall: Story = {
|
||||
export const IconButtonDefault: Story = {
|
||||
args: {
|
||||
variant: "default",
|
||||
size: "icon",
|
||||
children: <PlusIcon />,
|
||||
},
|
||||
};
|
||||
@@ -103,6 +104,7 @@ export const IconButtonDefault: Story = {
|
||||
export const IconButtonOutline: Story = {
|
||||
args: {
|
||||
variant: "outline",
|
||||
size: "icon",
|
||||
children: <PlusIcon />,
|
||||
},
|
||||
};
|
||||
@@ -110,6 +112,7 @@ export const IconButtonOutline: Story = {
|
||||
export const IconButtonSubtle: Story = {
|
||||
args: {
|
||||
variant: "subtle",
|
||||
size: "icon",
|
||||
children: <PlusIcon />,
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user