+
+
+
{MONTH_FORMATTER.format(viewMonth)}
+
+
+
+ {DAY_LABELS.map((label) => (
+
{label}
+ ))}
+ {weeks.flatMap((week, weekIndex) =>
+ week.map((date, dayIndex) => {
+ if (!date) return
+ const iso = toISODate(date)
+ const count = countsByDate.get(iso) ?? 0
+ const isSelected = selectedDate === iso
+ const isToday = iso === todayISO
+ return (
+
+ )
+ }),
+ )}
+
+