import React, { type FC } from 'react' import type { CalendarItemProps } from '../types' import cn from '@/utils/classnames' import dayjs from 'dayjs' const Item: FC = ({ day, selectedDate, onClick, }) => { const { date, isCurrentMonth } = day const isSelected = selectedDate?.isSame(date, 'date') const isToday = date.isSame(dayjs(), 'date') return ( ) } export default React.memo(Item)