import React from 'react';
import classnames from 'classnames';
import './modal-container.scss';

const ModalContainer = (props) => {
	if (! props.children) {
		return null;
	}

	return (
		<div className="modal-container">
			{props.children}
		</div>
	);
};

export default ModalContainer;

@@ -27,24 +27,23 @@
 %0Aimport 
-classnam
+PropTyp
 es from 
@@ -47,21 +47,22 @@
 om '
-classnam
+prop-typ
 es';%0A
+%0A
 impo
@@ -127,17 +127,18 @@
 s) =%3E %7B%0A
-%09
+  
 if (! pr
@@ -153,18 +153,20 @@
 dren) %7B%0A
-%09%09
+    
 return n
@@ -174,13 +174,15 @@
 ll;%0A
-%09%7D%0A%0A%09
+  %7D%0A%0A  
 retu
@@ -186,18 +186,20 @@
 eturn (%0A
-%09%09
+    
 %3Cdiv cla
@@ -228,11 +228,14 @@
 r%22%3E%0A
-%09%09%09
+      
 %7Bpro
@@ -251,20 +251,138 @@
 en%7D%0A
-%09%09
+    
 %3C/div%3E%0A
-%09);
+  );%0A%7D;%0A%0AModalContainer.propTypes = %7B%0A  children: PropTypes.node,%0A%7D;%0A%0AModalContainer.defaultProps = %7B%0A  children: null,
 %0A%7D;%0A

Add proptype validation and clean up ModalContainer component