import React from 'react'
import PropTypes from 'prop-types'
import { Box, Flex } from 'rebass'
import X from 'components/Icon/X'
/**
* @render react
* @name Modal
* @example
* Some content
*/
class Modal extends React.Component {
static displayName = 'Modal'
static propTypes = {
children: PropTypes.node,
onClose: PropTypes.func
}
state = {
hover: false
}
hoverOn = () => {
this.setState({ hover: true })
}
hoverOff = () => {
this.setState({ hover: false })
}
render() {
const { hover } = this.state
const { children, onClose } = this.props
return (
{children}
)
}
}
export default Modal