mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-23 04:04:27 +08:00
fix(component): button icon color (#7588)
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user