import type { ReactNode } from 'react'; export interface QuotedCardProps { /** The agent's own line, set on the ramp. */ quote: string; title: string; /** The artefact the quoted line produced: a file, a link, a count. */ artefact?: ReactNode; children: ReactNode; className?: string; } export function QuotedCard({ quote, title, artefact, children, className }: QuotedCardProps) { return (
Agent APP

{quote}

{artefact !== undefined &&
{artefact}
}

{title}

{children}
); }