import React from 'react';
import { horizontalTabsConfig, verticalTabsConfig, component, mergeConfig } from '@salutejs/plasma-new-hope/styled-components';
import { config as horizontalConfig } from './horizontal/HorizontalTabs.config';
import { config as verticalConfig } from './vertical/VerticalTabs.config';
var mergedHorizontalTabsConfig = mergeConfig(horizontalTabsConfig, horizontalConfig);
var mergedVerticalTabsConfig = mergeConfig(verticalTabsConfig, verticalConfig);
var HorizontalTabs = component(mergedHorizontalTabsConfig);
var VerticalTabs = component(mergedVerticalTabsConfig);
/**
 * Контейнер вкладок, основной компонент для пользовательской сборки вкладок.
 */ export var Tabs = function(props) {
    if (props.orientation === 'vertical') {
        return /*#__PURE__*/ React.createElement(VerticalTabs, props);
    }
    return /*#__PURE__*/ React.createElement(HorizontalTabs, props);
};
