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