"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

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

var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));

var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));

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

var _classnames = _interopRequireDefault(require("classnames"));

var _propTypes = _interopRequireDefault(require("prop-types"));

var _excluded = ["centered", "children", "className"];

var ModuleFooter = function ModuleFooter(_ref) {
  var centered = _ref.centered,
      children = _ref.children,
      className = _ref.className,
      other = (0, _objectWithoutProperties2.default)(_ref, _excluded);
  var wrapperClasses = (0, _classnames.default)('wfp--module__footer', className);
  return /*#__PURE__*/_react.default.createElement("div", (0, _extends2.default)({
    className: wrapperClasses
  }, other), children);
};

ModuleFooter.propTypes = {
  /**
   * Specify the content of the `ModuleFooter`
   */
  children: _propTypes.default.node,

  /**
   * The CSS class name for the `ModuleFooter`.
   */
  className: _propTypes.default.string
};
var _default = ModuleFooter;
exports.default = _default;