function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
import React from "react";
import classNames from "classnames";
import "./index.less";
var prefix = "pisell-lowcode-";
var ClassicLayout = function ClassicLayout(props) {
  var header = props.header,
    content = props.content,
    footer = props.footer,
    style = props.style,
    fixedHeader = props.fixedHeader,
    fixedFooter = props.fixedFooter,
    footerClassName = props.footerClassName,
    footerStyle = props.footerStyle;
  return /*#__PURE__*/React.createElement("div", {
    className: "".concat(prefix, "claseic-layout"),
    style: style
  }, /*#__PURE__*/React.createElement("header", {
    className: classNames(_defineProperty({}, "".concat(prefix, "claseic-layout-fixed-header"), fixedHeader))
  }, header), content, /*#__PURE__*/React.createElement("footer", {
    className: classNames(_defineProperty(_defineProperty({}, "".concat(prefix, "claseic-layout-fixed-footer"), fixedFooter), footerClassName, footerClassName)),
    style: footerStyle
  }, footer));
};
export default ClassicLayout;