Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf1c2605

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

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
exportconstIconButtonDefault:Story={
9797
args:{
9898
variant:"default",
99+
size:"icon",
99100
children:<PlusIcon/>,
100101
},
101102
};
102103

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

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp