mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 12:09:14 +08:00
fix: add white color (#38291)
This commit is contained in:
parent
9352d24bc4
commit
de1ab2c7f1
@ -100,8 +100,10 @@ class Wave extends React.Component<WaveProps> {
|
||||
// Not white or transparent or grey
|
||||
if (
|
||||
waveColor &&
|
||||
waveColor !== '#fff' &&
|
||||
waveColor !== '#ffffff' &&
|
||||
waveColor !== 'rgb(255, 255, 255)' &&
|
||||
waveColor !== 'rgba(255, 255, 255, 1)' &&
|
||||
isNotGrey(waveColor) &&
|
||||
!/rgba\((?:\d*, ){3}0\)/.test(waveColor) && // any transparent rgba color
|
||||
waveColor !== 'transparent'
|
||||
|
Loading…
Reference in New Issue
Block a user