import type { ReactNode } from 'react'; export interface FrameProps { caption?: string; /** The honesty line under the panel: what this view is drawn from. */ foot?: string; /** The fold cuts the panel off — the pack's signature. See Frame.md. */ cropped?: boolean; children: ReactNode; className?: string; } export function Frame({ caption, foot, cropped = false, children, className }: FrameProps) { return (
{caption !== undefined &&
{caption}
}
{children}
{foot !== undefined && !cropped &&

{foot}

}
); }