import * as React from 'react'; import { ReactNode } from 'react'; import 'union-design/lib/alert/styles/css'; export interface AlertProps { /** * 类型 */ type?: "success" | "info" | "warning" | "error"; message?: string | ReactNode; description?: string | ReactNode; icon?: ReactNode; banner?: boolean; closeText?: string | ReactNode; closable?: boolean; showIcon?: boolean; className?: String; onClose?: (evt: any) => void; style?: object; } declare const Alert: React.FC; export default Alert;