UNPKG

awesome-gcl

Version:
23 lines (22 loc) 693 B
import { SwitchComponentsEnum, SwitchConstructorPropTypes } from "./types"; interface SwitchStyle { buildStyleRules: () => Record<`${SwitchComponentsEnum}Class`, string>; } export declare class SwitchStyles implements SwitchStyle { private size; private sizes; private themes; private isDisabled; private additionalClasses; constructor({ additionalClasses, size, disabled }: SwitchConstructorPropTypes); private getComponentSizeRules; private applyDisabledRules; buildStyleRules(): { wrapperClass: string; labelClass: string; switchWrapperClass: string; inputClass: string; spanClass: string; }; } export {};