diff --git a/src/Modal/Modal.js b/src/Modal/Modal.js index 71a6a21..9ede5da 100644 --- a/src/Modal/Modal.js +++ b/src/Modal/Modal.js @@ -6,8 +6,8 @@ import { Transition } from 'react-transition-group'; import { FocusOn } from 'react-focus-on'; import Portal from '../Portal'; import Flex from '../Flex'; -import Box from '../Box'; import Icon from '../Icon'; +import Button from '../Button'; import { createComponent, themeGet } from '../utils'; const ModalContext = createContext({}); @@ -185,27 +185,20 @@ Modal.Header = ({ title, children, showClose = true }) => { - {title && ( - - {title} - - )} + {title && {title}} {children} {showClose && ( - - - + )}