-
+
+
+
- { this.renderCloseIcon() }
- { children }
+ { this.renderCloseIcon() }
+ { children }
+
);
@@ -93,6 +98,11 @@ export default class Portal extends Component {
);
}
+ stopEvent = (event) => {
+ event.preventDefault();
+ event.stopPropagation();
+ }
+
handleClose = () => {
this.props.onClose();
}