"use client" import { ReactNode } from "react" import { Label } from "@/components/ui/label" import { cn } from "@/lib/utils" interface FormSectionProps { title: string description?: string children: ReactNode className?: string htmlFor?: string } export function FormSection({ title, description, children, className, htmlFor }: FormSectionProps) { return (
{htmlFor ? ( ) : (

{title}

)} {description && (

{description}

)}
{children}
) }