import { MDCDrawer } from '@material/drawer'; import MaterialComponent from '../Base/MaterialComponent'; import { ListLinkItem } from '../List'; export interface IDrawerProps { onOpen?: (e: Event) => void; onClose?: (e: Event) => void; } export interface IDrawerHeaderProps { } export interface IDrawerHeaderState { } export declare class DrawerHeader extends MaterialComponent { protected componentName: string; protected mdcProps: never[]; protected materialDom(props: any): JSX.Element; } export interface IDrawerContentProps { } export interface IDrawerContentState { } export declare class DrawerContent extends MaterialComponent { protected componentName: string; protected mdcProps: never[]; protected materialDom(props: any): JSX.Element; } export interface IDrawerItemProps { selected?: boolean; } export interface IDrawerItemState { } export declare class DrawerItem extends ListLinkItem { protected materialDom(props: any): JSX.Element; } export interface IDrawerProps extends JSX.HTMLAttributes { onAccept?: JSX.GenericEventHandler; onCancel?: JSX.GenericEventHandler; dismissible?: boolean; modal?: boolean; } export interface IDrawerState { } export declare class Drawer extends MaterialComponent { static readonly DrawerContent: typeof DrawerContent; static readonly DrawerHeader: typeof DrawerHeader; static readonly DrawerItem: typeof DrawerItem; MDComponent?: MDCDrawer; protected componentName: string; protected mdcProps: never[]; protected mdcNotifyProps: string[]; componentDidMount(): void; protected onOpen(e: any): void; protected onClose(e: any): void; protected materialDom(props: any): JSX.Element; } export default class extends Drawer { static readonly DrawerContent: typeof DrawerContent; static readonly DrawerHeader: typeof DrawerHeader; static readonly DrawerItem: typeof DrawerItem; }