Skip to main content
Version: 8.10.1

Interface: CaptionProps

Represent the props of the Caption component.

Properties

displayIndex?

optional displayIndex: number

The index of the month where the caption is displayed. Older custom components may miss this prop.

Source

src/components/Caption.tsx:20


displayMonth

displayMonth: Date

The month where the caption is displayed.

Source

src/components/Caption.tsx:15


id?

optional id: string

The ID for the heading element. Must be the same as the labelled-by in Table.

Source

src/components/Caption.tsx:13