"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = void 0;

var _fdx = require("@whalecloud/fdx");

var _react = _interopRequireDefault(require("react"));

require("./index.less");

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

/* eslint-disable */
var Header = _fdx.Layout.Header;

var NavBar = function NavBar(props) {
  var showCot = props.showCot;

  var menu = /*#__PURE__*/_react["default"].createElement(_fdx.Menu, null, /*#__PURE__*/_react["default"].createElement(_fdx.Menu.Item, null, /*#__PURE__*/_react["default"].createElement("a", {
    href: "#",
    className: "mNavBarManagementAccount"
  }, "Management account")), /*#__PURE__*/_react["default"].createElement(_fdx.Menu.Item, null, /*#__PURE__*/_react["default"].createElement("a", {
    className: "logout"
  }, "Logout")));

  return /*#__PURE__*/_react["default"].createElement(Header, {
    className: "mNavBarHeader"
  }, /*#__PURE__*/_react["default"].createElement("div", {
    className: showCot === 'inList' ? 'mEcomContent' : 'content',
    style: showCot === 'inList' ? {
      width: '100%',
      overflow: 'hidden'
    } : {}
  }, /*#__PURE__*/_react["default"].createElement(_fdx.Row, {
    type: "flex",
    justify: "space-between"
  }, /*#__PURE__*/_react["default"].createElement("ul", null, /*#__PURE__*/_react["default"].createElement("li", null, "WhaleCloud Selection"), /*#__PURE__*/_react["default"].createElement("li", null, "Save more on APP"), /*#__PURE__*/_react["default"].createElement("li", null, "Seller Center")), /*#__PURE__*/_react["default"].createElement("ul", null, /*#__PURE__*/_react["default"].createElement("li", null, "My Order List"), /*#__PURE__*/_react["default"].createElement("li", null, "Sign in"), /*#__PURE__*/_react["default"].createElement("li", null, "Personal Center"), /*#__PURE__*/_react["default"].createElement("li", null, /*#__PURE__*/_react["default"].createElement(_fdx.Icon, {
    type: "shopping-cart",
    style: {
      fontSize: '16px',
      marginRight: '8px',
      verticalAlign: 'middle',
      marginBottom: '4px'
    }
  }), " Shopping Cart")))));
};

var _default = NavBar;
exports["default"] = _default;