"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports["default"] = void 0;
var _inheritsLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/inheritsLoose"));
var _react = _interopRequireDefault(require("react"));
var _variables = require("../../variables");
require("./index.scss");
//底部工具栏
var FooterBox = /*#__PURE__*/function (_React$Component) {
  (0, _inheritsLoose2["default"])(FooterBox, _React$Component);
  function FooterBox(props) {
    var _this;
    _this = _React$Component.call(this, props) || this;
    _this._renderChildren = function () {
      var children = _this.props.children;
      return _react["default"].Children.map(children, function (child) {
        return /*#__PURE__*/_react["default"].cloneElement(child);
      });
    };
    return _this;
  }
  var _proto = FooterBox.prototype;
  _proto.render = function render() {
    var style = this.props.style;
    return /*#__PURE__*/_react["default"].createElement("div", {
      className: _variables.bizCssPrefix + '-footer-box',
      style: style
    }, this._renderChildren());
  };
  return FooterBox;
}(_react["default"].Component);
var _default = FooterBox;
exports["default"] = _default;