import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
//  strict
import PropTypes from 'prop-types';
import * as React from 'react';
import styled from 'styled-components';
import { screenSize } from '../../Tools/interpolation';
var Wrapper =
/*#__PURE__*/
styled.div.withConfig({
  componentId: "sc-1r2ko3o-0"
})(["\n  width: 100%;\n  height: 100%;\n  overflow: auto;\n  padding: 1.5rem;\n  box-sizing: border-box;\n\n  @media (min-width: ", ") {\n    height: auto;\n    overflow-y: none;\n  }\n"], screenSize('sm'));

var ModalBody = function ModalBody(_ref) {
  var children = _ref.children,
      rest = _objectWithoutProperties(_ref, ["children"]);

  return React.createElement(Wrapper, rest, children);
};

ModalBody.propTypes = process.env.NODE_ENV !== "production" ? {
  children: PropTypes.node
} : {};
export default ModalBody;