UNPKG

1.17 kBTypeScriptView Raw
1export interface ToggleButtonClasses {
2 /** Styles applied to the root element. */
3 root: string;
4 /** State class applied to the root element if `disabled={true}`. */
5 disabled: string;
6 /** State class applied to the root element if `selected={true}`. */
7 selected: string;
8 /** State class applied to the root element if `color="standard"`. */
9 standard: string;
10 /** State class applied to the root element if `color="primary"`. */
11 primary: string;
12 /** State class applied to the root element if `color="secondary"`. */
13 secondary: string;
14 /** Styles applied to the root element if `size="small"`. */
15 sizeSmall: string;
16 /** Styles applied to the root element if `size="medium"`. */
17 sizeMedium: string;
18 /** Styles applied to the root element if `size="large"`. */
19 sizeLarge: string;
20 /** Styles applied to the root element if `fullWidth={true}`. */
21 fullWidth: string;
22}
23export type ToggleButtonClassKey = keyof ToggleButtonClasses;
24export declare function getToggleButtonUtilityClass(slot: string): string;
25declare const toggleButtonClasses: ToggleButtonClasses;
26export default toggleButtonClasses;