src/js/components/TableBody.js
// genreates One table cell to hold one day...
genreates One table cell to hold one day
genreates One table cell to hold one day
generateWeekRowDayCell(week){
     let dayList  = []
     , dayCell    = 0
     , day        = 0
     for(day; day <= 6; day++){
       dayCell = day + ((week) * 7)
       dayList.push(
         <td key={`dayCell${dayCell}`} className='dayCell' id={`dayCell${dayCell}`}>{this.generateWeekRowDayCellText(dayCell)}</td>
       )
     }
     return dayList
  }
generateWeekRowDayCell ( week ) { let dayList = [ ] , dayCell = 0 , day = 0 for ( day ; day <= 6 ; day ++ ) { dayCell = day + ( ( week ) * 7 ) dayList . push ( < td key = { ` ${ dayCell } ` } className = 'dayCell' id = { ` ${ dayCell } ` } > { this . generateWeekRowDayCellText ( dayCell ) } < / td > ) } return dayList }
genreates One table cell to hold one day...
genreates One table cell to hold one day ...