UNPKG

material-ui-cordova

Version:

React components that implement Google's Material Design.

39 lines (34 loc) 974 B
import * as React from 'react'; import { StandardProps } from '..'; import { ModalProps, ModalClassKey } from '../Modal'; import { TransitionDuration } from '../internal/transition'; import { SlideProps } from '../transitions/Slide'; import { Theme } from '../styles/createMuiTheme'; export interface DrawerProps extends StandardProps< ModalProps, DrawerClassKey > { anchor?: 'left' | 'top' | 'right' | 'bottom'; elevation?: number; transitionDuration?: TransitionDuration; open?: boolean; SlideProps?: SlideProps; theme?: Theme; type?: 'permanent' | 'persistent' | 'temporary'; } export type DrawerClassKey = | ModalClassKey | 'docked' | 'paper' | 'paperAnchorLeft' | 'paperAnchorRight' | 'paperAnchorTop' | 'paperAnchorBottom' | 'paperAnchorDockedLeft' | 'paperAnchorDockedTop' | 'paperAnchorDockedRight' | 'paperAnchorDockedBottom' | 'modal' ; declare const Drawer: React.ComponentType<DrawerProps>; export default Drawer;