import React from "react";
export const AggregateCount = ({ count, type }) => {
    const textContent = {
        publicDataset: "Public Dataset",
        participants: "Participant",
    }[type];
    return (React.createElement("div", { className: "aggregate-count" },
        React.createElement("span", null, count.toLocaleString()),
        " ",
        textContent,
        count !== 1 && "s"));
};
