@material-ui/unstyled
Version:
Unstyled React components with which to implement custom design systems.
23 lines (22 loc) • 963 B
TypeScript
export interface SwitchUnstyledClasses {
/** Class applied to the root element. */
root: string;
/** Class applied to the internal input element */
input: string;
/** Class applied to the track element */
track: string;
/** Class applied to the thumb element */
thumb: string;
/** Class applied to the root element if the switch is checked */
checked: string;
/** Class applied to the root element if the switch is disabled */
disabled: string;
/** Class applied to the root element if the switch has visible focus */
focusVisible: string;
/** Class applied to the root element if the switch is read-only */
readOnly: string;
}
export declare type SwitchUnstyledClassKey = keyof SwitchUnstyledClasses;
export declare function getSwitchUnstyledUtilityClass(slot: string): string;
declare const switchUnstyledClasses: SwitchUnstyledClasses;
export default switchUnstyledClasses;