
import './style.less'

export default (props) => {
  const { show, mask = true, maskClosable, onClose } = props

  return (
    <mp-dialog extClass='x-popup' buttons={[]} show={show} mask={mask} maskClosable={maskClosable} onClose={onClose}>
      {props.children}
    </mp-dialog>
  )
}
