UNPKG

1.86 kBTypeScriptView Raw
1export interface DividerClasses {
2 /** Styles applied to the root element. */
3 root: string;
4 /** Styles applied to the root element if `absolute={true}`. */
5 absolute: string;
6 /** Styles applied to the root element if `variant="inset"`. */
7 inset: string;
8 /** Styles applied to the root element if `variant="fullWidth"`. */
9 fullWidth: string;
10 /** Styles applied to the root element if `light={true}`.
11 * @deprecated
12 */
13 light: string;
14 /** Styles applied to the root element if `variant="middle"`. */
15 middle: string;
16 /** Styles applied to the root element if `orientation="vertical"`. */
17 vertical: string;
18 /** Styles applied to the root element if `flexItem={true}`. */
19 flexItem: string;
20 /** Styles applied to the root element if divider have text. */
21 withChildren: string;
22 /** Styles applied to the root element if divider have text and `orientation="vertical"`.
23 * @deprecated Combine the [.MuiDivider-withChildren](/material-ui/api/divider/#divider-classes-withChildren) and [.MuiDivider-vertical](/material-ui/api/divider/#divider-classes-vertical) classes instead.
24 */
25 withChildrenVertical: string;
26 /** Styles applied to the root element if `textAlign="right" orientation="horizontal"`. */
27 textAlignRight: string;
28 /** Styles applied to the root element if `textAlign="left" orientation="horizontal"`. */
29 textAlignLeft: string;
30 /** Styles applied to the span children element if `orientation="horizontal"`. */
31 wrapper: string;
32 /** Styles applied to the span children element if `orientation="vertical"`. */
33 wrapperVertical: string;
34}
35export type DividerClassKey = keyof DividerClasses;
36export declare function getDividerUtilityClass(slot: string): string;
37declare const dividerClasses: DividerClasses;
38export default dividerClasses;