Browse Source

fix

pull/43342/head
栗嘉男 1 year ago
parent
commit
86e7b88ebb
  1. 3
      components/notification/PurePanel.tsx

3
components/notification/PurePanel.tsx

@ -21,6 +21,9 @@ export const TypeIcon = {
};
export function getCloseIcon(prefixCls: string, closeIcon?: React.ReactNode): React.ReactNode {
if (closeIcon === null || closeIcon === false) {
return null;
}
return (
closeIcon || (
<span className={`${prefixCls}-close-x`}>

Loading…
Cancel
Save