You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.0 KiB

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;