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