UNPKG

1.14 kBTypeScriptView Raw
1export interface FabClasses {
2 /** Styles applied to the root element. */
3 root: string;
4 /** Styles applied to the root element if `color="primary"`. */
5 primary: string;
6 /** Styles applied to the root element if `color="secondary"`. */
7 secondary: string;
8 /** Styles applied to the root element if `variant="extended"`. */
9 extended: string;
10 /** Styles applied to the root element if `variant="circular"`. */
11 circular: string;
12 /** State class applied to the ButtonBase root element if the button is keyboard focused. */
13 focusVisible: string;
14 /** State class applied to the root element if `disabled={true}`. */
15 disabled: string;
16 /** Styles applied to the root element if `color="inherit"`. */
17 colorInherit: string;
18 /** Styles applied to the root element if `size="small"``. */
19 sizeSmall: string;
20 /** Styles applied to the root element if `size="medium"``. */
21 sizeMedium: string;
22}
23export declare type FabClassKey = keyof FabClasses;
24export declare function getFabUtilityClass(slot: string): string;
25declare const fabClasses: FabClasses;
26export default fabClasses;