import _extends from "@babel/runtime/helpers/extends";
/* eslint-disable @typescript-eslint/no-unused-vars */
import * as React from 'react';
import { Tabbar as NutTabbar, TabbarItem as NutTabbarItem } from '@nutui/nutui-react';
import "./index.scss";
var Tabbar = function Tabbar(props) {
  var _props$tabs = props.tabs,
    tabs = _props$tabs === void 0 ? [] : _props$tabs;
  return /*#__PURE__*/React.createElement(NutTabbar, props, tabs.map(function (tab) {
    return /*#__PURE__*/React.createElement(NutTabbarItem, _extends({}, tab, {
      key: tab.index
    }));
  }));
};
Tabbar.displayName = 'Tabbar';
export default Tabbar;