/// <reference types="react" />

import * as React from 'react';

export interface DrawerProps {
    prefix?: string
    closable?: boolean
    destroyOnClose?: boolean
    getContainer?: HTMLElement | (() => HTMLElement) | string | false
    maskClosable?: boolean
    mask?: boolean
    maskStyle?: React.CSSProperties
    style?: React.CSSProperties
    drawerStyle?: React.CSSProperties
    headerStyle?: React.CSSProperties
    bodyStyle?: React.CSSProperties
    title?: React.ReactNode
    visible: boolean
    width?: string | number
    height?: string | number
    zIndex?: number
    prefixCls?: string
    push?: boolean
    placement?: 'top' |'right' |'bottom' |'left'
    onClose?(): void
    afterVisibleChange?(visible: boolean): void
    className?: string
    handler?: boolean
    footer?: React.ReactNode
    footerStyle?: React.CSSProperties
    keyboard?: boolean
}

export default class Drawer extends React.Component<DrawerProps> {}
