UNPKG

antd

Version:

An enterprise-class UI design language and React components implementation

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