1 | import React from 'react';
|
2 | import { Action, ModalComponent, ModalPropsType } from './PropsType';
|
3 | export interface ModalProps extends ModalPropsType {
|
4 | prefixCls?: string;
|
5 | transitionName?: string;
|
6 | maskTransitionName?: string;
|
7 | className?: string;
|
8 | wrapClassName?: string;
|
9 | wrapProps?: Partial<React.HTMLProps<HTMLDivElement>>;
|
10 | platform?: string;
|
11 | style?: React.CSSProperties;
|
12 | bodyStyle?: React.CSSProperties;
|
13 | }
|
14 | export default class Modal extends ModalComponent<ModalProps, any> {
|
15 | static defaultProps: {
|
16 | prefixCls: string;
|
17 | transparent: boolean;
|
18 | popup: boolean;
|
19 | animationType: string;
|
20 | animated: boolean;
|
21 | style: {};
|
22 | onShow(): void;
|
23 | footer: never[];
|
24 | closable: boolean;
|
25 | operation: boolean;
|
26 | platform: string;
|
27 | };
|
28 | renderFooterButton(button: Action, prefixCls: string | undefined, i: number): JSX.Element;
|
29 | render(): JSX.Element;
|
30 | }
|