import type { PropsWithChildren } from 'react'; import type { ClassNamesFn } from 'jamis-core'; export interface AlertProps extends PropsWithChildren { level: 'danger' | 'info' | 'success' | 'warning'; title?: string; className?: string; showCloseButton: boolean; showIcon?: boolean; icon?: string | React.ReactNode; iconClassName?: string; closeButtonClassName?: string; onClose?: () => void; classnames: ClassNamesFn; classPrefix: string; }