///
export interface AlertProps {
className?: string;
label: string | React.ReactNode;
type: 'warning' | 'error' | 'info' | 'success' | 'primary' | 'accent';
actions?: {
label: string;
href?: string;
external?: boolean;
onClick: React.ButtonHTMLAttributes['onClick'];
}[];
withAccentBorder?: boolean;
withDismissButton?: boolean;
withLinkOnRight?: boolean;
link: {
label: string;
href?: string;
external?: boolean;
onClick: React.ButtonHTMLAttributes['onClick'];
};
description?: string | React.ReactNode;
onDismissClick?: React.ButtonHTMLAttributes['onClick'];
}
declare function Alert({ className, label, type, description, }: AlertProps): JSX.Element;
export default Alert;