UNPKG

leo-design-ui

Version:

React Design Library

15 lines (14 loc) 466 B
type AlertType = 'primary' | 'danger' | 'warning' | 'success' | 'info'; export interface IProps { type: AlertType; message: string; closable?: boolean; onClose?: () => void; description?: string; showIcon?: boolean; } export interface typeRelateIconType { [key: string]: string; } declare const Alert: ({ type, message, closable, showIcon, description, onClose }: IProps) => import("react/jsx-runtime").JSX.Element; export default Alert;