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.

27 lines (26 loc) 1.39 kB
export interface TabClasses { /** Styles applied to the root element. */ root: string; /** Styles applied to the root element if both `icon` and `label` are provided. */ labelIcon: string; /** Styles applied to the root element if the parent [`Tabs`](/api/tabs/) has `textColor="inherit"`. */ textColorInherit: string; /** Styles applied to the root element if the parent [`Tabs`](/api/tabs/) has `textColor="primary"`. */ textColorPrimary: string; /** Styles applied to the root element if the parent [`Tabs`](/api/tabs/) has `textColor="secondary"`. */ textColorSecondary: string; /** State class applied to the root element if `selected={true}` (controlled by the Tabs component). */ selected: string; /** State class applied to the root element if `disabled={true}` (controlled by the Tabs component). */ disabled: string; /** Styles applied to the root element if `fullWidth={true}` (controlled by the Tabs component). */ fullWidth: string; /** Styles applied to the root element if `wrapped={true}`. */ wrapped: string; /** Styles applied to the wrapper element of `icon` if `icon` is provided. */ iconWrapper: string; } export declare type TabClassKey = keyof TabClasses; export declare function getTabUtilityClass(slot: string): string; declare const tabClasses: TabClasses; export default tabClasses;