fix button font weight

This commit is contained in:
Pavel Prichodko 2023-03-30 14:50:32 +02:00
parent 1e5e10eadd
commit bb79ef0496
No known key found for this signature in database
GPG Key ID: 8E4C82D464215E83
1 changed files with 1 additions and 1 deletions

View File

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