"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 _propTypes = _interopRequireDefault(require("prop-types"));

// Style
var classes = {};
/* istanbul ignore next */

if (typeof window !== 'undefined') classes = require("./style.module.scss");

var ModalBody = function ModalBody(_ref) {
  var children = _ref.children,
      className = _ref.className,
      attrs = (0, _objectWithoutProperties2["default"])(_ref, ["children", "className"]);
  return /*#__PURE__*/_react["default"].createElement("div", (0, _extends2["default"])({
    className: [classes['Modal-Body'], className || ''].join(' ')
  }, attrs), children);
};

ModalBody.propTypes = {
  children: _propTypes["default"].any,
  className: _propTypes["default"].node
};
var _default = ModalBody;
exports["default"] = _default;