"use client"; import { DayCell } from "@/components/calendario/day-cell"; import type { CalendarDay } from "@/components/calendario/types"; import { WEEK_DAYS_SHORT } from "@/components/calendario/utils"; import { cn } from "@/lib/utils/ui"; type CalendarGridProps = { days: CalendarDay[]; onSelectDay: (day: CalendarDay) => void; onCreateDay: (day: CalendarDay) => void; }; export function CalendarGrid({ days, onSelectDay, onCreateDay, }: CalendarGridProps) { return (
{WEEK_DAYS_SHORT.map((dayName) => ( {dayName} ))}
{days.map((day) => (
))}
); }