"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Tabs = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const Tabs_1 = require("../../Tabs");
const styles_1 = require("./styles");
const Tabs = ({ listType, notificationsCount, unreadNotificationsCount, onChange, }) => {
    const handleChange = (_, value) => {
        onChange(value);
    };
    return ((0, jsx_runtime_1.jsxs)(styles_1.StyledTabs, { value: listType, onChange: handleChange, children: [(0, jsx_runtime_1.jsx)(Tabs_1.Tab, { value: "unread", label: "\u041D\u0435\u043F\u0440\u043E\u0447\u0438\u0442\u0430\u043D\u043D\u044B\u0435", count: unreadNotificationsCount }), (0, jsx_runtime_1.jsx)(Tabs_1.Tab, { value: "all", label: "\u0412\u0441\u0435", count: notificationsCount })] }));
};
exports.Tabs = Tabs;
