UNPKG

@mui/material

Version:

Quickly build beautiful React apps. MUI is a simple and customizable component library to build faster, beautiful, and more accessible React applications. Follow your own design system, or start with Material Design.

31 lines (30 loc) 1.49 kB
export interface DrawerClasses { /** Styles applied to the root element. */ root: string; /** Styles applied to the root element if `variant="permanent or persistent"`. */ docked: string; /** Styles applied to the Paper component. */ paper: string; /** Styles applied to the Paper component if `anchor="left"`. */ paperAnchorLeft: string; /** Styles applied to the Paper component if `anchor="right"`. */ paperAnchorRight: string; /** Styles applied to the Paper component if `anchor="top"`. */ paperAnchorTop: string; /** Styles applied to the Paper component if `anchor="bottom"`. */ paperAnchorBottom: string; /** Styles applied to the Paper component if `anchor="left"` and `variant` is not "temporary". */ paperAnchorDockedLeft: string; /** Styles applied to the Paper component if `anchor="top"` and `variant` is not "temporary". */ paperAnchorDockedTop: string; /** Styles applied to the Paper component if `anchor="right"` and `variant` is not "temporary". */ paperAnchorDockedRight: string; /** Styles applied to the Paper component if `anchor="bottom"` and `variant` is not "temporary". */ paperAnchorDockedBottom: string; /** Styles applied to the Modal component. */ modal: string; } export declare type DrawerClassKey = keyof DrawerClasses; export declare function getDrawerUtilityClass(slot: string): string; declare const drawerClasses: DrawerClasses; export default drawerClasses;