import type { ReactNode } from 'react'; export interface FrameProps { caption?: string; /** The honesty line under the case: what this specimen is, and is not. */ foot?: string; children: ReactNode; className?: string; } export function Frame({ caption, foot, children, className }: FrameProps) { return (
{caption !== undefined &&
{caption}
}
{children}
{foot !== undefined &&

{foot}

}
); }