function ModalContent(props) {
  var children = props.children,
      className = props.className,
      content = props.content,
      image = props.image,
      scrolling = props.scrolling;


  var classes = cx(className, useKeyOnly(image, 'image'), useKeyOnly(scrolling, 'scrolling'), 'content');
  var rest = getUnhandledProps(ModalContent, props);
  var ElementType = getElementType(ModalContent, props);

  return React.createElement(
    ElementType,
    _extends({}, rest, { className: classes }),
    childrenUtils.isNil(children) ? content : children
  );
}
/**
 * A modal can contain content.
 */
A modal can contain content.
A modal can contain content .
function ModalContent(props) {
  var children = props.children,
      className = props.className,
      content = props.content,
      image = props.image,
      scrolling = props.scrolling;
  var classes = cx(className, useKeyOnly(image, 'image'), useKeyOnly(scrolling, 'scrolling'), 'content');
  var rest = getUnhandledProps(ModalContent, props);
  var ElementType = getElementType(ModalContent, props);
  return React.createElement(
    ElementType,
    _extends({}, rest, { className: classes }),
    childrenUtils.isNil(children) ? content : children
  );
}
function ModalContent ( props ) { var children = props . children , className = props . className , content = props . content , image = props . image , scrolling = props . scrolling ; var classes = cx ( className , useKeyOnly ( image , 'image' ) , useKeyOnly ( scrolling , 'scrolling' ) , 'content' ) ; var rest = getUnhandledProps ( ModalContent , props ) ; var ElementType = getElementType ( ModalContent , props ) ; return React . createElement ( ElementType , _extends ( { } , rest , { className : classes } ) , childrenUtils . isNil ( children ) ? content : children ) ; }
A modal can contain content.
A modal can contain content .