export interface ToggleSwitchProps { enabled: boolean; size?: 'sm' | 'md'; } export function ToggleSwitch({ enabled, size = 'md' }: ToggleSwitchProps) { const trackSize = size === 'sm' ? 'h-[14px] w-[24px]' : 'h-[18px] w-[32px]'; const thumbSize = size === 'sm' ? 'size-[10px]' : 'size-[14px]'; const translateOn = size === 'sm' ? 'translate-x-[12px]' : 'translate-x-[16px]'; return ( ); }