import React from 'react' import classNames from 'classnames' import Styles from './index.css' import { PREV_DAY, NEXT_DAY, } from '../../const' import { DateContext } from '../../context' const Index = () => ( { ({ weekTags, days, onSelectDay }) => (
{ weekTags.map(weekName => ( { weekName } )) } { days.map(day => ( onSelectDay(day)} role="presentation" > { day.day } )) }
) }
) export default Index