import type { ReactNode } from "react";

import { formGridClass } from "@/components/form/common/form-layout";
import { cn } from "@/lib/utils";

type FormSectionLayoutProps = {
  children: ReactNode;
  className?: string;
};

/** Internal layout wrapper — no visible section headings. */
export function FormSectionLayout({ children, className }: FormSectionLayoutProps) {
  return <div className={cn(formGridClass, className)}>{children}</div>;
}
