@qn-pandora/pandora-visualization
Version:
Pandora 通用可视化库
19 lines (18 loc) • 640 B
TypeScript
import * as React from 'react';
import PropTypes from 'prop-types';
import BasicComponent from '../../Base/BasicComponent';
import { DrawerProps } from 'antd/es/drawer';
export interface IDrawerProps extends DrawerProps {
className?: string;
}
export default class Drawer extends BasicComponent<IDrawerProps, any> {
static childContextTypes: {
getPopupContainer: PropTypes.Requireable<(...args: any[]) => any>;
};
getChildContext(): {
getPopupContainer: () => any;
};
hasOpened: boolean | undefined;
componentWillReceiveProps(props: IDrawerProps): void;
render(): React.JSX.Element | null;
}