Function: MonthCaption()

May 8, 2026 ยท View on GitHub

MonthCaption(props): Element

Defined in: packages/react-day-picker/src/components/MonthCaption.tsx:11

Render the caption for a month in the calendar.

Parameters

ParameterType
props{ calendarMonth: CalendarMonth; displayIndex: number; } & HTMLAttributes<HTMLDivElement>

Returns

Element

See

https://daypicker.dev/guides/custom-components

Contents

  1. 1Parameters
  2. 2Returns
  3. 3See