UNPKG

1.7 kBTypeScriptView Raw
1export interface TabClasses {
2 /** Styles applied to the root element. */
3 root: string;
4 /** Styles applied to the root element if both `icon` and `label` are provided. */
5 labelIcon: string;
6 /** Styles applied to the root element if the parent [`Tabs`](/material-ui/api/tabs/) has `textColor="inherit"`. */
7 textColorInherit: string;
8 /** Styles applied to the root element if the parent [`Tabs`](/material-ui/api/tabs/) has `textColor="primary"`. */
9 textColorPrimary: string;
10 /** Styles applied to the root element if the parent [`Tabs`](/material-ui/api/tabs/) has `textColor="secondary"`. */
11 textColorSecondary: string;
12 /** State class applied to the root element if `selected={true}` (controlled by the Tabs component). */
13 selected: string;
14 /** State class applied to the root element if `disabled={true}` (controlled by the Tabs component). */
15 disabled: string;
16 /** Styles applied to the root element if `fullWidth={true}` (controlled by the Tabs component). */
17 fullWidth: string;
18 /** Styles applied to the root element if `wrapped={true}`. */
19 wrapped: string;
20 /** Styles applied to the `icon` HTML element if both `icon` and `label` are provided.
21 * @deprecated Use `icon` class instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details
22 */
23 iconWrapper: string;
24 /** Styles applied to the `icon` HTML element if both `icon` and `label` are provided. */
25 icon: string;
26}
27export type TabClassKey = keyof TabClasses;
28export declare function getTabUtilityClass(slot: string): string;
29declare const tabClasses: TabClasses;
30export default tabClasses;