/** * The five figures, as tiles. * * Each is a link, not just a number: a count you cannot act on is trivia, so * every tile opens the list it describes. */ import Icon from "./Icon"; export default function StatTiles({ items }) { return (
{items.map((item) => ( {new Intl.NumberFormat().format(item.value)} {item.label} ))}
); }