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.

51 lines (50 loc) 2.18 kB
export interface TypographyClasses { /** Styles applied to the root element. */ root: string; /** Styles applied to the root element if `variant="body2"`. */ body2: string; /** Styles applied to the root element if `variant="body1"`. */ body1: string; /** Styles applied to the root element if `variant="caption"`. */ caption: string; /** Styles applied to the root element if `variant="button"`. */ button: string; /** Styles applied to the root element if `variant="h1"`. */ h1: string; /** Styles applied to the root element if `variant="h2"`. */ h2: string; /** Styles applied to the root element if `variant="h3"`. */ h3: string; /** Styles applied to the root element if `variant="h4"`. */ h4: string; /** Styles applied to the root element if `variant="h5"`. */ h5: string; /** Styles applied to the root element if `variant="h6"`. */ h6: string; /** Styles applied to the root element if `variant="subtitle1"`. */ subtitle1: string; /** Styles applied to the root element if `variant="subtitle2"`. */ subtitle2: string; /** Styles applied to the root element if `variant="overline"`. */ overline: string; /** Styles applied to the root element if `variant="inherit"`. */ inherit: string; /** Styles applied to the root element if `align="left"`. */ alignLeft: string; /** Styles applied to the root element if `align="center"`. */ alignCenter: string; /** Styles applied to the root element if `align="right"`. */ alignRight: string; /** Styles applied to the root element if `align="justify"`. */ alignJustify: string; /** Styles applied to the root element if `nowrap={true}`. */ noWrap: string; /** Styles applied to the root element if `gutterBottom={true}`. */ gutterBottom: string; /** Styles applied to the root element if `paragraph={true}`. */ paragraph: string; } export declare type TypographyClassKey = keyof TypographyClasses; export declare function getTypographyUtilityClass(slot: string): string; declare const typographyClasses: TypographyClasses; export default typographyClasses;