import { cn } from "@/lib/style"; type Props = { className?: string; children: React.ReactNode; title?: string; control?: React.ReactNode; }; export function PageSection({ className, children, title, control }: Props) { return (
{title && (control ? (

{title}

{control}
) : (

{title}

))} {children}
); }