mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-03 04:30:06 +08:00
style(Badge): remove null check (#30204)
This commit is contained in:
parent
48b7edc35f
commit
ca31a75d1b
@ -191,7 +191,7 @@ const Badge: CompoundedComponent = ({
|
||||
[`${prefixCls}-count`]: !isDot && !isHidden,
|
||||
[`${prefixCls}-count-sm`]: !isDot && !isHidden && size === 'small',
|
||||
[`${prefixCls}-multiple-words`]:
|
||||
!isDot && displayCount && displayCount?.toString().length > 1,
|
||||
!isDot && displayCount && displayCount.toString().length > 1,
|
||||
[`${prefixCls}-status-${status}`]: !!status,
|
||||
[`${prefixCls}-status-${color}`]: isPresetColor(color),
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user