import { clsx } from "clsx"; import { MONTHS_SHORT } from "./timelineConstants.js"; interface TimelineHeaderProps { monthGroups: { label: string; colCount: number }[]; dates: Date[]; CELL_WIDTH: number; LABEL_WIDTH: number; HEADER_MONTH_HEIGHT: number; HEADER_DAY_HEIGHT: number; zoom: "day" | "week" | "month"; viewMode: "resource" | "project"; today: Date; } export function TimelineHeader({ monthGroups, dates, CELL_WIDTH, LABEL_WIDTH, HEADER_MONTH_HEIGHT, HEADER_DAY_HEIGHT, zoom, viewMode, today, }: TimelineHeaderProps) { return ( <> {/* Month header */}