import * as React from 'react'; import { ReactNode } from 'react'; import 'union-design/lib/popconfirm/styles/css'; export interface PopconfirmProps { /** * 类型 */ cancelText?: string; okText?: string; okType?: string; title?: string | ReactNode; onCancel?: () => {}; onConfirm?: () => {}; icon?: ReactNode; getPopupContainer?: () => {}; mouseEnterDelay?: number; mouseLeaveDelay?: number; overlayStyle?: any; placement?: "top" | "left" | "right" | "bottom" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom"; trigger?: "hover" | "focus" | "click"; onVisibleChange?: () => {}; autoAdjustOverflow?: boolean; defaultVisible?: boolean; okButtonProps?: JSON; cancelButtonProps?: JSON; visible?: boolean; style?: object; } declare const Popconfirm: React.FC; export default Popconfirm;