HeaderRowRenderProps

Context data passed to header row template functions

Props

The following table outlines the props for the HeaderRowRenderProps:

NameTypeDefaultDescription
date
Date
-

The date object for this header cell

endDate
Date
-

End date of this header row's span (for Year/Month rows)

isWeekend
boolean
-

True if this date is a weekend

option
-

The header row option type

startDate
Date
-

Start date of this header row's span (for Year/Month rows)

text
string
-

Formatted text (e.g., "2026", "January", "Week 15", "May 1, Tuesday")

weekNumber
number
-

ISO week number (only for Week option)