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.

33 lines (32 loc) 1.52 kB
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 declare type SwitchClassKey = keyof SwitchClasses; export declare function getSwitchUtilityClass(slot: string): string; declare const switchClasses: SwitchClasses; export default switchClasses;