content: import React from 'react'
  import Dialog from 'material-ui/Dialog'
  import FlatButton from 'material-ui/FlatButton'
  
  const BetFormModal = (props) => {
    const actions = [
      <FlatButton
        label='Cancel'
        secondary={true}
        onTouchTap={props.onCancel}
      />,
      <FlatButton
        label='Save'
        primary={true}
        onTouchTap={props.onSave}
      />
    ]
  
    return <Dialog
      actions={actions}
      modal={true}
      contentStyle={{width: 330, minHeight: 700}}
      autoScrollBodyContent={true}
      // autoDetectWindowHeight={false}
      open={props.open}
    >
      {props.children}
    </Dialog>
  }
  
  BetFormModal.propTypes = {
    open: React.PropTypes.bool.isRequired,
    onCancel: React.PropTypes.func.isRequired,
    onSave: React.PropTypes.func.isRequired,
    children: React.PropTypes.element.isRequired
  }
  
  export default BetFormModal
  