import React, { FC } from 'react' import cx from 'classnames' import * as helper from '../../helper' import { HandleOnDayClick, HandleOnDayEnter } from '../../@types' interface Props { blockClassName: string date: Date getDayFormatted: typeof helper.getDayFormatted handleOnClick: HandleOnDayClick handleOnEnter: HandleOnDayEnter isCurrentMonth: boolean isDisabled: boolean isHighlighted: boolean isMonthNext: boolean isMonthPrev: boolean isNonSelectable: boolean ISODate: string isSelectable: boolean isSelected: boolean isSelectionEnd: boolean isSelectionStart: boolean isToday: boolean isWeekend: boolean isWorkDay: boolean key?: string } const Day: FC = ({ blockClassName, date, getDayFormatted, handleOnClick, handleOnEnter, isCurrentMonth, isDisabled, isHighlighted, isMonthNext, isMonthPrev, isNonSelectable, ISODate, isSelectable, isSelected, isSelectionEnd, isSelectionStart, isToday, isWeekend, isWorkDay }) => ( ) Day.displayName = 'Day' export default Day