type props = { dateLabel: string; category: string; roles: string[]; client: string; }; function Item({ label, children, }: { label: string; children: React.ReactNode; }) { return (

{label}

{children}
); } export function ProjectMeta({ dateLabel, category, roles, client }: props) { return (
{dateLabel} {category}
{roles.map((role) => ( {role} ))}
{client}
); }