"use strict";
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
    result["default"] = mod;
    return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
var React = __importStar(require("react"));
var ContributorsStyledComponents_1 = require("./ContributorsStyledComponents");
exports.Contributors = function (props) {
    return (React.createElement(ContributorsStyledComponents_1.ContributorsStyled, null,
        props.label && React.createElement(ContributorsStyledComponents_1.ContributorsLabel, null, props.label),
        props.sortedContributors.map(function (contributor, idx) { return (React.createElement(ContributorsStyledComponents_1.ContributorItem, { key: idx },
            React.createElement(ContributorsStyledComponents_1.ContributorAvatar, { src: contributor.avatar }),
            React.createElement("div", null,
                React.createElement(ContributorsStyledComponents_1.ContributorUserName, null, contributor.username),
                React.createElement(ContributorsStyledComponents_1.ContributorAmount, null, contributor.amount)))); })));
};
//# sourceMappingURL=Contributors.js.map