"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Sidebar = void 0;
const tslib_1 = require("tslib");
const jsx_runtime_1 = require("react/jsx-runtime");
const cn_1 = require("../../utils/cn.js");
const Tabs_1 = tslib_1.__importDefault(require("../Tabs/Tabs.js"));
const b = (0, cn_1.editorCn)('sidebar');
const Sidebar = ({ className, tabs, top = [] }) => {
    return ((0, jsx_runtime_1.jsxs)("div", { className: b(null, className), children: [top.map((TopComponent, idx) => ((0, jsx_runtime_1.jsx)("div", { className: b('block'), children: (0, jsx_runtime_1.jsx)(TopComponent, {}) }, idx))), (0, jsx_runtime_1.jsx)(Tabs_1.default, { items: tabs })] }));
};
exports.Sidebar = Sidebar;
//# sourceMappingURL=Sidebar.js.map
