import * as SwitchPrimitive from '@radix-ui/react-switch' import { cn } from '@/lib/utils' interface SwitchProps { checked: boolean onCheckedChange: (checked: boolean) => void label?: string description?: string disabled?: boolean } export function Switch({ checked, onCheckedChange, label, description, disabled }: SwitchProps) { return (
{label}
} {description &&{description}
}