import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
import React from "react";
import cls from "classnames";
// import { } from '@alifd/next';
import { Nav } from "@alicloudfe/components";

var BDesignNav = function BDesignNav(props) {
  var className = props.className,
      onlyiconNotext = props.onlyiconNotext,
      rest = _objectWithoutProperties(props, ["className", "onlyiconNotext"]);

  return /*#__PURE__*/React.createElement(Nav, _extends({
    className: cls(className, {
      'onlyiconNotext': onlyiconNotext === true
    })
  }, rest));
};

BDesignNav.Group = Nav.Group;
BDesignNav.Item = Nav.Item;
BDesignNav.PopupItem = Nav.PopupItem;
BDesignNav.SubNav = Nav.SubNav;
export default BDesignNav; // onlyiconNotext