"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 DashboardStyledComponents_1 = require("./DashboardStyledComponents");
var DashboardActivityItemTitle = function (props) {
    var titleChild = props.viewDetailURL ? React.createElement(react_router_dom_1.Link, { to: props.viewDetailURL }, props.title) : props.title;
    return React.createElement(DashboardStyledComponents_1.StyledDashboardActivityItemTitle, null, titleChild);
};
exports.default = React.memo(DashboardActivityItemTitle);
//# sourceMappingURL=DashboardActivityItemTitle.js.map