UNPKG

@grafana/ui

Version:
13 lines (12 loc) 407 B
import React, { FC, ReactNode } from 'react'; export declare type AlertVariant = 'success' | 'warning' | 'error' | 'info'; interface AlertProps { title: string; buttonText?: string; onButtonClick?: (event: React.MouseEvent) => void; onRemove?: (event: React.MouseEvent) => void; severity?: AlertVariant; children?: ReactNode; } export declare const Alert: FC<AlertProps>; export {};