thinkasany
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
components/notification/PurePanel.tsx
|
|
@ -20,7 +20,7 @@ export const TypeIcon = { |
|
|
|
loading: <LoadingOutlined />, |
|
|
|
}; |
|
|
|
|
|
|
|
export function getCloseIcon(prefixCls: string, closeIcon?: React.ReactNode) { |
|
|
|
export function getCloseIcon(prefixCls: string, closeIcon?: React.ReactNode): React.ReactNode { |
|
|
|
return ( |
|
|
|
closeIcon || ( |
|
|
|
<span className={`${prefixCls}-close-x`}> |
|
|
|