"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "Tabs", {
    enumerable: true,
    get: function() {
        return Tabs;
    }
});
const _react = /*#__PURE__*/ _interop_require_default(require("react"));
const _emotion = require("@salutejs/plasma-new-hope/emotion");
const _HorizontalTabsconfig = require("./horizontal/HorizontalTabs.config");
const _VerticalTabsconfig = require("./vertical/VerticalTabs.config");
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
const mergedHorizontalTabsConfig = (0, _emotion.mergeConfig)(_emotion.horizontalTabsConfig, _HorizontalTabsconfig.config);
const mergedVerticalTabsConfig = (0, _emotion.mergeConfig)(_emotion.verticalTabsConfig, _VerticalTabsconfig.config);
const HorizontalTabs = (0, _emotion.component)(mergedHorizontalTabsConfig);
const VerticalTabs = (0, _emotion.component)(mergedVerticalTabsConfig);
const Tabs = (props)=>{
    if (props.orientation === 'vertical') {
        return /*#__PURE__*/ _react.default.createElement(VerticalTabs, props);
    }
    return /*#__PURE__*/ _react.default.createElement(HorizontalTabs, props);
};
