import { InfoICircleFill16SecondaryIcon, XmarkFailedSeriousWarningFill16RedIcon, NoticeAttention16YellowIcon, InfoICircleFill16BlueIcon, CheckmarkDoneSuccessCircleFill16GreenIcon } from '@cloudtower/icons-react';

function getAlertIcon(type) {
  switch (type) {
    case "success":
      return CheckmarkDoneSuccessCircleFill16GreenIcon;
    case "info":
      return InfoICircleFill16BlueIcon;
    case "warning":
      return NoticeAttention16YellowIcon;
    case "error":
      return XmarkFailedSeriousWarningFill16RedIcon;
    case "normal":
      return InfoICircleFill16SecondaryIcon;
    default:
      return InfoICircleFill16SecondaryIcon;
  }
}

export { getAlertIcon };
