import _extends from "@babel/runtime/helpers/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
var _excluded = ["centered", "children", "className"];
import React from 'react';
import classNames from 'classnames';
import PropTypes from 'prop-types';

var ModuleFooter = function ModuleFooter(_ref) {
  var centered = _ref.centered,
      children = _ref.children,
      className = _ref.className,
      other = _objectWithoutProperties(_ref, _excluded);

  var wrapperClasses = classNames('wfp--module__footer', className);
  return /*#__PURE__*/React.createElement("div", _extends({
    className: wrapperClasses
  }, other), children);
};

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

  /**
   * The CSS class name for the `ModuleFooter`.
   */
  className: PropTypes.string
};
export default ModuleFooter;