This commit is contained in:
Tom Moor
2019-12-22 14:54:12 -08:00
committed by GitHub
parent adf323713e
commit 6bf2069fa7
8 changed files with 52 additions and 11 deletions

View File

@@ -49,7 +49,7 @@ const Modal = ({
isOpen={isOpen}
{...rest}
>
<Content column>
<Content onClick={ev => ev.stopPropagation()} column>
{title && <h1>{title}</h1>}
<Close onClick={onRequestClose}>
<CloseIcon size={40} color="currentColor" />