UNPKG

631 BTypeScriptView Raw
1/// <reference types="react" />
2import type { ModalProps } from 'antd';
3import type { ProHelpPanelProps } from './ProHelpPanel';
4export declare type ProHelpModalProps = {
5 /**
6 * Ant Design Modal 组件的 props,可以传递一些选项,如位置、大小、关闭方式等等。
7 */
8 modalProps?: ModalProps;
9} & Omit<ProHelpPanelProps, 'onClose'>;
10/**
11 * 渲染一个模态对话框,其中显示了一个 ProHelpPanel。
12 * @param modalProps 要传递给 Modal 组件的属性。
13 * @param props 要传递给 ProHelpPanel 组件的属性。
14 */
15export declare const ProHelpModal: React.FC<ProHelpModalProps>;