import React from 'react'
import PropTypes from 'prop-types'
import RTDialog from 'react-toolbox/lib/dialog'
import theme from './theme.scss'

class Dialog extends React.Component {
  render () {
    return (
      <RTDialog {...this.props} theme={theme}>
        {this.props.children}
      </RTDialog>
    )
  }
}

Dialog.propTypes = {
  children: PropTypes.any
}

export default Dialog
