import type { ReactNode } from 'react'; export interface CardProps { title?: string; /** Right-aligned furniture on the title row: a date, a stage, a segment. */ meta?: string; children: ReactNode; className?: string; } /** * A bounded region of a slide. It has no hover state, on purpose — see Card.md. */ export function Card({ title, meta, children, className }: CardProps) { const head = title !== undefined || meta !== undefined; return (
{head && (
{title !== undefined &&

{title}

} {meta !== undefined && {meta}}
)}
{children}
); }