import { MaterialIcon, type MaterialIconSetIconProps, } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { AlertTypeEnum } from "@/types/enums/alert" interface IconByAlertProps { alertType: AlertTypeEnum } export function IconByAlertType({ alertType, ...props }: IconByAlertProps & MaterialIconSetIconProps): JSX.Element { switch (alertType) { case AlertTypeEnum.Alarm: return ( ) case AlertTypeEnum.Warning: return ( ) case AlertTypeEnum.Info: default: return ( ) } }