"use client"; import { useState } from "react"; import { cn } from "@/lib/utils"; import { Check } from "lucide-react"; interface SwitchProps { label?: string; defaultChecked?: boolean; onChange?: (checked: boolean) => void; } export function Switch({ label, defaultChecked = false, onChange }: SwitchProps) { const [checked, setChecked] = useState(defaultChecked); return ( ); } interface CheckboxProps { label?: string; defaultChecked?: boolean; onChange?: (checked: boolean) => void; } export function Checkbox({ label, defaultChecked = false, onChange }: CheckboxProps) { const [checked, setChecked] = useState(defaultChecked); return ( ); } interface RadioGroupProps { options: { value: string; label: string }[]; defaultValue?: string; onChange?: (value: string) => void; } export function RadioGroup({ options, defaultValue, onChange }: RadioGroupProps) { const [value, setValue] = useState(defaultValue ?? options[0]?.value); return (