import React from 'react';
import { component, mergeConfig, verticalTabsConfig, horizontalTabsConfig } from '@salutejs/plasma-new-hope/css';
import { config as config$1 } from './horizontal/HorizontalTabs.config.js';
import { config } from './vertical/VerticalTabs.config.js';

var mergedHorizontalTabsConfig = /*#__PURE__*/mergeConfig(horizontalTabsConfig, config$1);
var mergedVerticalTabsConfig = /*#__PURE__*/mergeConfig(verticalTabsConfig, config);
var HorizontalTabs = /*#__PURE__*/component(mergedHorizontalTabsConfig);
var VerticalTabs = /*#__PURE__*/component(mergedVerticalTabsConfig);
/**
 * Контейнер вкладок, основной компонент для пользовательской сборки вкладок.
 */
var Tabs = function Tabs(props) {
  if (props.orientation === 'vertical') {
    return /*#__PURE__*/React.createElement(VerticalTabs, props);
  }
  return /*#__PURE__*/React.createElement(HorizontalTabs, props);
};

export { Tabs };
//# sourceMappingURL=Tabs.js.map
