import React from 'react';
import PropTypes from 'prop-types';

// Style
let classes = {};
/* istanbul ignore next */
if (typeof window !== 'undefined') classes = require('./style.module.scss');

const ModalBody = ({ children, className, ...attrs }) => (
  <div className={[classes['Modal-Body'], className || ''].join(' ')} {...attrs}>
    {children}
  </div>
);

ModalBody.propTypes = {
  children: PropTypes.any,
  className: PropTypes.node,
};

export default ModalBody;
