"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const jsx_runtime_1 = require("react/jsx-runtime");
const user_1 = __importDefault(require("./user"));
function Collaborators({ collaborators, }) {
    const v = [];
    for (const user of collaborators ?? []) {
        v.push((0, jsx_runtime_1.jsx)(user_1.default, { ...user }, user.account_id));
        v.push((0, jsx_runtime_1.jsxs)("span", { children: [", ", "\u00A0\u00A0"] }, user.account_id + ","));
    }
    v.pop(); // discard last comma.
    return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: v });
}
exports.default = Collaborators;
//# sourceMappingURL=collaborators.js.map