import { defineMessages, injectIntl } from 'react-intl' import Button from '../button' import Block from '../block' import Heading from '../heading' const messages = defineMessages({ close: { id: 'lightbox.close', defaultMessage: 'Close' }, }) export default @injectIntl class ModalLayout extends PureComponent { static propTypes = { title: PropTypes.string, children: PropTypes.node, onClose: PropTypes.func.isRequired, } render() { const { title, children, intl, onClose, } = this.props return (
{title}
{children}
) } }