"use strict";

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

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

var _Footer = _interopRequireDefault(require("./Footer"));

require("./index.less");

var _NavBar = _interopRequireDefault(require("./NavBar"));

var _SearchBox = _interopRequireDefault(require("./SearchBox"));

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

/* eslint-disable */
function index(props) {
  var showCot = props.showCot;
  return /*#__PURE__*/_react["default"].createElement("div", {
    className: "eshopw_style"
  }, showCot && /*#__PURE__*/_react["default"].createElement(_NavBar["default"], {
    showCot: showCot
  }), showCot && /*#__PURE__*/_react["default"].createElement(_SearchBox["default"], {
    showCot: showCot
  }), props.children, showCot && /*#__PURE__*/_react["default"].createElement(_Footer["default"], {
    showCot: showCot
  }));
}