import * as React from 'react'; import { ReactNode } from 'react'; import 'union-design/lib/modal/styles/css'; export interface ModalProps { /** * 类型 */ title?: string | ReactNode; visible?: boolean; okText?: string | ReactNode; cancelText?: string | ReactNode; width?: string | number; wrapClassName?: string; footer?: string | ReactNode; getContainer?: () => HTMLElement; keyboard?: boolean; mask?: boolean; maskClosable?: boolean; maskStyle?: JSON; okButtonProps?: JSON; cancelButtonProps?: JSON; zIndex?: number; confirmLoading?: boolean; closeIcon?: ReactNode; closable?: boolean; bodyStyle?: JSON; onCancel?: (e: any) => {}; onOk?: (e: any) => {}; centered?: boolean; destroyOnClose?: boolean; content?: Array; style?: object; } declare const Modal: React.FC; export default Modal;