Skip to content

Commit

Permalink
initail commit (apache#15261)
Browse files Browse the repository at this point in the history
  • Loading branch information
pkdotson authored and cccs-RyanS committed Dec 17, 2021
1 parent 46f2af3 commit 123c476
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions superset-frontend/src/components/Alert/index.tsx
Expand Up @@ -22,7 +22,6 @@ import {
AlertProps as AntdAlertProps,
} from 'src/common/components';
import { useTheme } from '@superset-ui/core';
import Icon from 'src/components/Icon';
import Icons from 'src/components/Icons';

export type AlertProps = PropsWithChildren<
Expand Down Expand Up @@ -61,7 +60,7 @@ export default function Alert(props: AlertProps) {
role="alert"
showIcon={showIcon}
icon={<AlertIcon aria-label={`${type} icon`} />}
closeText={closable && <Icon name="x-small" aria-label="close icon" />}
closeText={closable && <Icons.XSmall aria-label="close icon" />}
css={{
marginBottom: roomBelow ? gridUnit * 4 : 0,
padding: `${gridUnit * 2}px ${gridUnit * 3}px`,
Expand Down

0 comments on commit 123c476

Please sign in to comment.