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