"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 StoryFeedStyledComponents_1 = require("./StoryFeedStyledComponents");
var styleConstants_1 = require("../styleConstants");
exports.StoryNewsroomStatus = function (props) {
    return (React.createElement(StoryFeedStyledComponents_1.StoryNewsroomStatusStyled, null,
        React.createElement("a", { onClick: props.handleOpenNewsroom },
            props.newsroom.charter.name,
            props.activeChallenge ? (React.createElement("svg", { height: "14", width: "14" },
                React.createElement("circle", { cx: "7", cy: "7", r: "7", fill: styleConstants_1.colors.accent.CIVIL_YELLOW }))) : (React.createElement("svg", { height: "14", width: "14" },
                React.createElement("circle", { cx: "7", cy: "7", r: "7", fill: styleConstants_1.colors.accent.CIVIL_TEAL }))))));
};
//# sourceMappingURL=StoryNewsroomStatus.js.map