import type { CardProjection } from "@/lib/types"; interface Props { card: CardProjection; className?: string; } /** * Shared business-card field hierarchy for both the canvas and mobile timeline. * The backend owns field selection and ordering; this component only renders it. */ export function CardFields({ card, className = "" }: Props) { if (!card.primary && !card.secondary.length) return null; const classes = ["cardFields", className].filter(Boolean).join(" "); return
{value}