Skip to content

Commit 688418c

Browse files
committed
media test
1 parent b69e0bc commit 688418c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/Button/IconButton.dev.stories.tsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,15 @@ export default {
99
export const CustomSize = () => (
1010
<IconButton aria-label="Expand" variant="primary" size="small" icon={ChevronDownIcon} sx={{width: 16, height: 16}} />
1111
)
12+
13+
export const CustomSizeWithMedia = () => {
14+
return (
15+
<IconButton
16+
aria-label="Expand"
17+
variant="primary"
18+
size="small"
19+
icon={ChevronDownIcon}
20+
sx={{'@media (min-width: 123px)': {width: 16, height: 16}}}
21+
/>
22+
)
23+
}

0 commit comments

Comments
 (0)