import { Component } from 'react'; interface IBlockProps { /** * 指定事件是在捕获或冒泡阶段执行 true: 捕获阶段 false: 冒泡阶段 默认false */ useCapture?: true | false; /** * true的情况下不阻止冒泡; 默认为false */ canStop?: true | false; /** * 点击外部关闭弹框回调 */ onClose(p: any): void; } export default class Block extends Component { static displayName: string; componentWillMount(): void; componentWillUnmount(): void; close: (e: any) => void; handleStop: (e: any) => boolean; render(): JSX.Element; } export {};