import { ComponentProps } from "react" import { Label } from "@/components/ui/label" import { cn } from "@/lib/utils/cn" import { Switch } from "../ui/switch" export function SwitchField({ label, className = "", labelClassName = "", switchClassName = "", ...props }: ComponentProps & { label?: string; className?: string; labelClassName?: string; switchClassName?: string; }) { return (
{label && }
) }