import React from 'react'; import { ConfigConsumerProps } from '../config-provider'; export interface CurtainProps { visible?: boolean; closeBtnPosition?: string; closeIcon?: React.ReactNode; style?: React.CSSProperties; prefixCls?: string; className?: string; children?: React.ReactNode; onClose?: () => void; } export default class Curtain extends React.Component { static defaultProps: { visible: boolean; closeBtnPosition: string; }; renderCurtain: ({ getPrefixCls }: ConfigConsumerProps) => JSX.Element; render(): JSX.Element; }