import { ChevronDownIcon } from "lucide-react"; import type { ReactNode } from "react"; import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "./collapsible"; import { cn } from "../lib/cn"; /** * Shared compact form section for secondary settings. The closed state keeps * the effective value visible; the open state is intentionally borderless so * forms do not accumulate nested cards. */ export function FormDisclosure(props: { title: string; summary: ReactNode; open: boolean; onOpenChange: (open: boolean) => void; children: ReactNode; }) { return (
{props.children}
); }