'use client' import { InkText } from './ink' /** * The fiscal-year band: 24 or 36 month cells with a springy highlight span, * a serif label ("1 januari – 31 december") and a small note line. * Pure display; the parent drives span/label/note from hover or selection. */ const MONTH_LETTERS = ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'] interface YearBandProps { cells?: 24 | 36 year0: number /** Inclusive month-cell indices to highlight, or null for none. */ span?: [number, number] | null label?: string note?: string } export default function YearBand({ cells = 24, year0, span, label, note }: YearBandProps) { const years = Array.from({ length: cells / 12 }, (_, i) => year0 + i) return (