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