1 | import type { PanelProps } from 'rc-dialog/lib/Dialog/Content/Panel';
|
2 | import * as React from 'react';
|
3 | import type { ModalProps, ModalFuncProps } from './Modal';
|
4 | export interface PurePanelProps extends Omit<PanelProps, 'prefixCls'>, Pick<ModalFuncProps, 'type'> {
|
5 | prefixCls?: string;
|
6 | style?: React.CSSProperties;
|
7 | }
|
8 | export declare function renderCloseIcon(prefixCls: string, closeIcon?: React.ReactNode): JSX.Element;
|
9 | export declare function renderFooter(props: Pick<ModalProps, 'footer' | 'okText' | 'okType' | 'cancelText' | 'confirmLoading' | 'okButtonProps' | 'cancelButtonProps'> & {
|
10 | onOk?: React.MouseEventHandler;
|
11 | onCancel?: React.MouseEventHandler;
|
12 | }): string | number | boolean | React.ReactFragment | JSX.Element | null;
|
13 | export default function PurePanel(props: PurePanelProps): JSX.Element;
|