UNPKG

1.49 kBTypeScriptView Raw
1export interface DrawerClasses {
2 /** Styles applied to the root element. */
3 root: string;
4 /** Styles applied to the root element if `variant="permanent or persistent"`. */
5 docked: string;
6 /** Styles applied to the Paper component. */
7 paper: string;
8 /** Styles applied to the Paper component if `anchor="left"`. */
9 paperAnchorLeft: string;
10 /** Styles applied to the Paper component if `anchor="right"`. */
11 paperAnchorRight: string;
12 /** Styles applied to the Paper component if `anchor="top"`. */
13 paperAnchorTop: string;
14 /** Styles applied to the Paper component if `anchor="bottom"`. */
15 paperAnchorBottom: string;
16 /** Styles applied to the Paper component if `anchor="left"` and `variant` is not "temporary". */
17 paperAnchorDockedLeft: string;
18 /** Styles applied to the Paper component if `anchor="top"` and `variant` is not "temporary". */
19 paperAnchorDockedTop: string;
20 /** Styles applied to the Paper component if `anchor="right"` and `variant` is not "temporary". */
21 paperAnchorDockedRight: string;
22 /** Styles applied to the Paper component if `anchor="bottom"` and `variant` is not "temporary". */
23 paperAnchorDockedBottom: string;
24 /** Styles applied to the Modal component. */
25 modal: string;
26}
27export type DrawerClassKey = keyof DrawerClasses;
28export declare function getDrawerUtilityClass(slot: string): string;
29declare const drawerClasses: DrawerClasses;
30export default drawerClasses;