'use client'; import { Switch as SwitchPrimitive } from '@base-ui/react/switch'; import * as React from 'react'; import { cn } from '@/lib/utils'; type SwitchControlProps = React.ComponentProps; type SwitchLabelContent = Exclude; type SwitchLabelProps = Omit, 'htmlFor'> & { htmlFor: string; }; type SwitchProps = SwitchControlProps & { label: SwitchLabelContent; labelClassName?: string; }; function SwitchControl({ className, ...props }: SwitchControlProps) { return ( ); } function SwitchLabel({ className, htmlFor, ...props }: SwitchLabelProps) { return (