"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' || typeof _COMPILED_ === 'undefined') classes = {
  "slate": "#384248",
  "blue": "#118CFD",
  "green": "#12CA93",
  "red": "#E95F6A",
  "yellow": "#F7C543",
  "purple": "#8470BE",
  "graphite": "#4F5A66",
  "shale": "#939EAE",
  "chalk": "#c6cbd3",
  "ivory": "#F0F0F0",
  "lightGray": "#F8F8F8",
  "white": "#FFF",
  "Modal": "_3g8wC-Modal",
  "Modal_open": "_2SFZy-Modal_open",
  "Modal_scrollable": "TsCUE-Modal_scrollable",
  "Modal_sm": "_3bRHu-Modal_sm",
  "Modal_md": "D7Fk_-Modal_md",
  "Modal_lg": "_1kEX7-Modal_lg",
  "Modal-Header": "KJdTC-Modal-Header",
  "Modal-Body": "_2495S-Modal-Body",
  "Modal-Footer": "Eig39-Modal-Footer",
  "Modal-Header-Close": "_12uMh-Modal-Header-Close",
  "shake": "_3cUAj-shake"
};

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;