import { FC, PropsWithChildren } from 'react'; export interface IPopupProps { /** * css class */ className?: string; /** * mask css class */ maskClassName?: string; /** * 是否显示 * @default false */ visible?: boolean; /** * 点击浮层的时候时候是否自动关闭 * @default true */ maskClosable?: boolean; /** * 是否显示圆角 * @default false */ round?: boolean; /** * 弹出位置 * @default center */ position?: 'top' | 'right' | 'bottom' | 'left' | 'center'; /** * 是否显示关闭图标 * @default false */ closeable?: boolean; /** * 关闭图标名称或链接 * @default close */ closeIcon?: string; /** * 动画时长(ms) * @default 300 */ duration?: number; /** * 弹出层关闭时的回调 */ onClose?: () => void; } declare const Popup: FC>; export default Popup;