import { Component } from "react"; import Confirm from "./confirm"; import { PopConfirmProps } from "./interface"; import "./style.scss"; interface Props extends PopConfirmProps { placement?: string; maskClosable?: boolean; getPopupContainer?: (triggerNode?: HTMLElement) => HTMLElement; onVisibleChange?: (visible: boolean) => void; extraCls?: string; } interface PopConfirmState { visible: boolean; preVisible: boolean; } export { Confirm, PopConfirmProps }; export default class Popconfirm extends Component { static show: (e: any) => void; constructor(props: any); static getDerivedStateFromProps(props: any, state: any): any; onCancel(e: any): void; onConfirm(e: any): void; closePop(): void; onVisibleChange: (visible: any) => void; render(): JSX.Element; }