import type { BoxProps } from '@mui/material'; import type { PropsWithChildren, ReactNode } from 'react'; import { AlertMessageCard, AlertMessageCardTitle, } from './AlertMessage.style.js'; import type { Severity } from './types.js'; interface AlertMessageProps extends PropsWithChildren> { icon: ReactNode; title: ReactNode; multilineTitle?: boolean; severity?: Severity; } export const AlertMessage = ({ title, icon, children, multilineTitle, severity = 'info', ...rest }: AlertMessageProps) => ( {icon} {title} {children} );