UNPKG

422 BJavaScriptView Raw
1import { generateUtilityClass } from '../generateUtilityClass';
2import { generateUtilityClasses } from '../generateUtilityClasses';
3const COMPONENT_NAME = 'Switch';
4export function getSwitchUtilityClass(slot) {
5 return generateUtilityClass(COMPONENT_NAME, slot);
6}
7export const switchClasses = generateUtilityClasses(COMPONENT_NAME, ['root', 'input', 'track', 'thumb', 'checked', 'disabled', 'focusVisible', 'readOnly']);
\No newline at end of file