"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 react_router_dom_1 = require("react-router-dom");
var constants_1 = require("./constants");
var ListingHistoryEvent_1 = require("./ListingHistoryEvent");
exports.ChallengeEvent = function (props) {
    return (React.createElement(ListingHistoryEvent_1.ListingHistoryEvent, { title: constants_1.ListingEventTitles.CHALLENGE, timestamp: props.timestamp },
        React.createElement(ListingHistoryEvent_1.StyledEventCopy, null,
            "by ",
            React.createElement("strong", null, props.challenger)),
        React.createElement(react_router_dom_1.Link, { to: props.challengeURI },
            "View Historical Challenge - Challenge ID: ",
            props.challengeID)));
};
//# sourceMappingURL=ChallengeEvent.js.map