content: import React from 'react'
  import PropTypes from 'prop-types'
  import FieldGroup from '../../../Form/FieldGroup'
  
  const Room = (props) => {
    return (<tr>
      <th>
        <FieldGroup
          id='room_type'
          type='text'
          placeholder='Room Type'
          value={(props.prices) ? props.prices.room_type : ''}
          pushChangeParent={(obj) => props.onChangeRooms(props.id, obj)}
        />
      </th>
      <td>
        <FieldGroup
          id='price'
          type='text'
          placeholder='Price / Night'
          value={(props.prices) ? props.prices.price : ''}
          pushChangeParent={(obj) => props.onChangeRooms(props.id, obj)}
        />
      </td>
      <td><button type='button' onClick={props.handleRemoveRoom(props.id)} className='btn btn-danger pull-right small'>-</button></td>
    </tr>)
  }
  
  export default Room
  