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

{label}

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