fix(component): button icon color (#7588)

This commit is contained in:
EYHN
2024-07-24 08:03:02 +00:00
parent b1380ce81f
commit 6ca7c41861
@@ -71,7 +71,7 @@ const ButtonIcon: FC<IconButtonProps> = props => {
<div <div
{...otherProps} {...otherProps}
className={clsx(buttonIcon, { className={clsx(buttonIcon, {
'color-white': type !== 'default' && type !== 'plain', 'color-white': type && type !== 'default' && type !== 'plain',
large: size === 'large', large: size === 'large',
extraLarge: size === 'extraLarge', extraLarge: size === 'extraLarge',
end: iconPosition === 'end' && !onlyIcon, end: iconPosition === 'end' && !onlyIcon,