DrawerWrapper.d.ts
1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import * as React from 'react';
import { IDrawerProps } from './IDrawerPropTypes';
interface IState {
open: boolean;
}
declare class DrawerWrapper extends React.Component<IDrawerProps, IState> {
static defaultProps: {
prefixCls: string;
placement: string;
getContainer: string;
defaultOpen: boolean;
level: string;
duration: string;
ease: string;
onChange: () => void;
afterVisibleChange: () => void;
handler: JSX.Element;
showMask: boolean;
maskClosable: boolean;
maskStyle: {};
wrapperClassName: string;
className: string;
keyboard: boolean;
forceRender: boolean;
};
static getDerivedStateFromProps(props: IDrawerProps, { prevProps }: {
prevProps: IDrawerProps;
}): {
open?: boolean;
prevProps: IDrawerProps;
};
dom: HTMLElement | null;
constructor(props: IDrawerProps);
private onHandleClick;
private onClose;
render(): JSX.Element;
}
export default DrawerWrapper;