import type { ReactNode } from 'react'; import { Label } from './Label'; type FormProps = { title: string; titleBarRight?: ReactNode; children: ReactNode; className?: string; }; export function Form({ title, titleBarRight, children, className = '' }: Readonly) { return (
{titleBarRight ?
{titleBarRight}
: null}
{children}
); }