content: import React from 'react'
  import { connect } from 'react-redux'
  
  import BreakCategoryInstance from './BreakCategoryInstance'
  
  export default connect(mapStateToProps)(({
    breakCategories
  }) => {
    const arr = breakCategories.map(breakCategory =>
      <BreakCategoryInstance
        key={breakCategory._id}
        breakCategory={breakCategory}
      />
    )
  
    return (
      <div>
        {arr}
      </div>
    )
  })
  
  function mapStateToProps (state, ownProps) {
    return {
      breakCategories: Object.values(state.breakCategories.data)
    }
  }
  