"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 Tabs_1 = require("../Tabs");
var DashboardStyledComponents_1 = require("./DashboardStyledComponents");
var DashboardTextComponents_1 = require("./DashboardTextComponents");
exports.DashboardActivity = function (props) {
    return (React.createElement(DashboardStyledComponents_1.StyledUserActivity, null,
        React.createElement(Tabs_1.Tabs, { TabsNavComponent: DashboardStyledComponents_1.StyledDashboardTabsContainer, TabComponent: DashboardStyledComponents_1.StyledDashboardTab, activeIndex: props.activeIndex, onActiveTabChange: props.onTabChange },
            React.createElement(Tabs_1.Tab, { title: React.createElement(DashboardTextComponents_1.MyVotingTabText, null) },
                React.createElement(DashboardStyledComponents_1.StyledUserActivityContent, null, props.userVotes)),
            React.createElement(Tabs_1.Tab, { title: React.createElement(DashboardTextComponents_1.MyNewsroomsTabText, null) },
                React.createElement(DashboardStyledComponents_1.StyledUserActivityContent, null, props.userNewsrooms)),
            React.createElement(Tabs_1.Tab, { title: React.createElement(DashboardTextComponents_1.MyChallengesTabText, null) },
                React.createElement(DashboardStyledComponents_1.StyledUserActivityContent, null, props.userChallenges)))));
};
//# sourceMappingURL=DashboardActivity.js.map