"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.WinnerSourcesRenderer = void 0;
var react_1 = __importDefault(require("react"));
var List_1 = __importDefault(require("@mui/material/List"));
var ListItem_1 = __importDefault(require("@mui/material/ListItem"));
var WinnerSource_1 = require("../WinnerSource");
var styles_1 = require("./styles");
var WinnerSourcesRenderer = function (_a) {
    var crosswalks = _a.value.crosswalks;
    var styles = (0, styles_1.useStyles)();
    return (react_1.default.createElement(List_1.default, { component: "div" }, crosswalks.map(function (crosswalk) { return (react_1.default.createElement(ListItem_1.default, { key: crosswalk.uri, className: styles.item },
        react_1.default.createElement(WinnerSource_1.WinnerSource, { crosswalk: crosswalk }))); })));
};
exports.WinnerSourcesRenderer = WinnerSourcesRenderer;
