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}
|
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