16 lines
623 B
TypeScript
16 lines
623 B
TypeScript
/// <reference types="react" />
|
||
import type { ModalProps } from 'antd';
|
||
import type { ProHelpPanelProps } from './ProHelpPanel';
|
||
export type ProHelpModalProps = {
|
||
/**
|
||
* Ant Design Modal 组件的 props,可以传递一些选项,如位置、大小、关闭方式等等。
|
||
*/
|
||
modalProps?: ModalProps;
|
||
} & Omit<ProHelpPanelProps, 'onClose'>;
|
||
/**
|
||
* 渲染一个模态对话框,其中显示了一个 ProHelpPanel。
|
||
* @param modalProps 要传递给 Modal 组件的属性。
|
||
* @param props 要传递给 ProHelpPanel 组件的属性。
|
||
*/
|
||
export declare const ProHelpModal: React.FC<ProHelpModalProps>;
|