We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 862abb5 commit aeb9f9fCopy full SHA for aeb9f9f
src/components/Icon/Icon.stories.tsx
@@ -68,6 +68,10 @@ export const Overview = () => (
68
size: sm (12px)
69
</Typography>
70
{renderIcons({ size: "sm" })}
71
+ <Typography weight="bold" size="xxl">
72
+ size: xs (10px)
73
+ </Typography>
74
+ {renderIcons({ size: "xs" })}
75
</Container>
76
);
77
src/components/Icon/Icon.tsx
@@ -129,8 +129,9 @@ export type IconName =
129
130
type IconType = "fill" | "line";
131
type IconColor = IconType | "active" | string;
132
-type IconSize = "sm" | "md" | "lg";
+type IconSize = "xs" | "sm" | "md" | "lg";
133
export const iconSize: { [key in IconSize]: number } = {
134
+ xs: 10,
135
sm: 12,
136
md: 18,
137
lg: 24,
0 commit comments