"use strict";

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

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

require("./index.less");

var _UmFooter = _interopRequireDefault(require("./UmFooter"));

var _UmHeader = _interopRequireDefault(require("./UmHeader"));

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

function index(props) {
  var showCot = props.showCot;
  return /*#__PURE__*/_react["default"].createElement("div", {
    className: "um_style"
  }, showCot && /*#__PURE__*/_react["default"].createElement(_UmHeader["default"], null), props.children, showCot && /*#__PURE__*/_react["default"].createElement(_UmFooter["default"], null));
}