import _Tab from "@alifd/next/es/tab";
import _extends from "@babel/runtime/helpers/extends";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
var _excluded = ["className"];
import React from 'react';
import cx from 'classnames';
import "./index.scss";
export var TabContainer = function TabContainer(props) {
  var className = props.className,
    restProps = _objectWithoutPropertiesLoose(props, _excluded);
  var CustomTabItem = function CustomTabItem(key, props) {
    return /*#__PURE__*/React.createElement("div", {
      className: "navigation"
    }, key.title);
  };
  return /*#__PURE__*/React.createElement(_Tab, _extends({
    className: cx(className, 'fusion-ui-tab')
  }, restProps, {
    tabRender: function tabRender(key, props) {
      return /*#__PURE__*/React.createElement(CustomTabItem, _extends({
        key: key
      }, props));
    }
  }));
};
TabContainer.displayName = 'TabContainer';