fix button font weight
This commit is contained in:
parent
1e5e10eadd
commit
bb79ef0496
|
@ -64,7 +64,7 @@ const Button = (props: Props, ref: Ref<HTMLButtonElement>) => {
|
||||||
iconOnly={iconOnly}
|
iconOnly={iconOnly}
|
||||||
>
|
>
|
||||||
{icon ? cloneElement(icon, { color: textColor }) : null}
|
{icon ? cloneElement(icon, { color: textColor }) : null}
|
||||||
<Text color={textColor} size={textSize}>
|
<Text weight="medium" color={textColor} size={textSize}>
|
||||||
{children}
|
{children}
|
||||||
</Text>
|
</Text>
|
||||||
{iconAfter ? cloneElement(iconAfter, { color: textColor }) : null}
|
{iconAfter ? cloneElement(iconAfter, { color: textColor }) : null}
|
||||||
|
|
Loading…
Reference in New Issue