"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Tabs = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const hooks_1 = require("./hooks");
const styles_1 = require("./styles");
const Tabs = ({ ...tabsProps }) => {
    const { containerRef } = (0, hooks_1.useScrollToActiveTab)();
    return ((0, jsx_runtime_1.jsx)(styles_1.Container, { children: (0, jsx_runtime_1.jsxs)(styles_1.Wrapper, { children: [(0, jsx_runtime_1.jsx)(styles_1.StyledTabs, { ...tabsProps, ref: containerRef }), (0, jsx_runtime_1.jsx)(styles_1.Divider, {})] }) }));
};
exports.Tabs = Tabs;
