Blame view

天文台pc/tianwentai-ui/node_modules/@mui/material/esm/Switch/switchClasses.d.ts 1.42 KB
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
  export interface SwitchClasses {
    /** Styles applied to the root element. */
    root: string;
    /** Styles applied to the root element if `edge="start"`. */
    edgeStart: string;
    /** Styles applied to the root element if `edge="end"`. */
    edgeEnd: string;
    /** Styles applied to the internal `SwitchBase` component's `root` class. */
    switchBase: string;
    /** Styles applied to the internal SwitchBase component's root element if `color="primary"`. */
    colorPrimary: string;
    /** Styles applied to the internal SwitchBase component's root element if `color="secondary"`. */
    colorSecondary: string;
    /** Styles applied to the root element if `size="small"`. */
    sizeSmall: string;
    /** Styles applied to the root element if `size="medium"`. */
    sizeMedium: string;
    /** State class applied to the internal `SwitchBase` component's `checked` class. */
    checked: string;
    /** State class applied to the internal SwitchBase component's disabled class. */
    disabled: string;
    /** Styles applied to the internal SwitchBase component's input element. */
    input: string;
    /** Styles used to create the thumb passed to the internal `SwitchBase` component `icon` prop. */
    thumb: string;
    /** Styles applied to the track element. */
    track: string;
  }
  export type SwitchClassKey = keyof SwitchClasses;
  export declare function getSwitchUtilityClass(slot: string): string;
  declare const switchClasses: SwitchClasses;
  export default switchClasses;