import React from "react"; import XBaseLayout, { XBaseLayoutProps } from "../base/XBaseLayout"; export interface XPopConfirmProps extends XBaseLayoutProps { /** * 确认提示标题 */ title?: React.ReactNode | string; /** * Cancel按钮的点击事件 */ onCancel?: () => void; /** * ok按钮的点击事件 */ onOK?: () => void; } /** * 在元素上滑出的对话框包含确认和取消按钮 * @name 滑出确认 * @groupName 弹出 */ export default class XPopConfirm extends XBaseLayout { static ComponentName: string; static defaultProps: { title: string; width: string; height: string; onCancel: any; onOK: any; lazyChildren: boolean; styleType: string; hasBox: boolean; showBorder: any; overflow: string; boxStyle: {}; visible: boolean; grid: number[]; gridSpan: number[]; parent: string; pureRender: boolean; dataSourceUrl: string; filterData: {}; mustHasFilter: boolean; }; constructor(props: XPopConfirmProps); onOK(e: any): void; onCancel(e: any): void; renderLayout(): React.JSX.Element; }