import { HTMLProps } from 'react'; export type TSwitchSize = 'sm' | 'md' | 'lg'; export type TSwitchType = 'single' | 'multiple'; export type TSwitchLabelPosition = 'left' | 'right'; export type TSwitchProps = { /** Set Switch's field class name */ fieldClassName?: string; /** Set Switch's input class name */ inputClassName?: string; /** Set Switch's label */ label?: string; /** Set Switch's label class name */ labelClassName?: string; /** Set Switch's label position */ labelPosition?: TSwitchLabelPosition; /** Set Switch's size */ size?: TSwitchSize; /** Set Switch's toggle class name */ toggleClassName?: string; /** Set Switch's type. 'single' type will imitate the behaviour of the radio input while the multiple will imitate the behaviour of the checkbox input */ type?: TSwitchType; } & Omit, 'size' | 'type'>;