fix button font weight

This commit is contained in:
Pavel Prichodko 2023-03-30 14:50:32 +02:00
parent 7c7e8f78ab
commit b8faced665
No known key found for this signature in database
GPG Key ID: 0EB8D75C775AB6F1
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}