Skip to content

Commit ee01b77

Browse files
committed
updated Anchor, but button's text needs some work
1 parent 3dbde08 commit ee01b77

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/gamut/src/Anchor/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ export const Anchor = forwardRef<
120120
icon,
121121
iconOffset,
122122
iconPosition = 'left',
123-
iconSize = 12,
123+
iconSize = 16,
124124
iconAndTextGap = 8,
125125
isInlineIcon = true,
126126
variant = 'inline',

packages/gamut/src/Button/shared/InlineIconButton.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ type InlineIconButtonComponents =
1313

1414
type InlineIconButtonType = InlineIconButtonComponents & {
1515
button: React.ComponentType<InlineIconButtonComponents>;
16+
iconSize?: number;
1617
};
1718

1819
export const InlineIconButton = forwardRef<
@@ -30,7 +31,7 @@ export const InlineIconButton = forwardRef<
3031
},
3132
ref
3233
) => {
33-
const content = appendIconToContent({ iconPosition, icon, children });
34+
const content = appendIconToContent({ iconPosition, icon, iconSize:16, children });
3435
return (
3536
<Button {...props} variant={variant} ref={ref}>
3637
{content}

0 commit comments

Comments
 (0)