mirror of
https://github.com/apache/superset.git
synced 2026-08-04 04:52:32 +00:00
refactor(Icons): Replaces custom icons with Ant Design 5 icons (#32112)
Replace custom icons with Ant Design 5 icons to standardize the icon
This commit is contained in:
@@ -58,11 +58,7 @@ export default function BasicErrorAlert({
|
||||
|
||||
return (
|
||||
<StyledContainer level={level} role="alert">
|
||||
{level === 'error' ? (
|
||||
<Icons.ErrorSolid iconColor={iconColor} />
|
||||
) : (
|
||||
<Icons.WarningSolid iconColor={iconColor} />
|
||||
)}
|
||||
<Icons.ExclamationCircleFilled iconColor={iconColor} />
|
||||
<StyledContent>
|
||||
<StyledTitle>{title}</StyledTitle>
|
||||
<p>{body}</p>
|
||||
|
||||
Reference in New Issue
Block a user