File size: 1,022 Bytes
cf86710 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | # Interface: CaptionLabelProps
The props for the [CaptionLabel](../functions/CaptionLabel.md) 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/CaptionLabel.tsx:16](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/components/CaptionLabel.tsx#L16)
***
### displayMonth
> **displayMonth**: `Date`
The month where the caption is displayed.
#### Source
[src/components/CaptionLabel.tsx:11](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/components/CaptionLabel.tsx#L11)
***
### id?
> `optional` **id**: `string`
The ID for the heading element. Must be the same as the labelled-by in
Table.
#### Source
[src/components/CaptionLabel.tsx:9](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/components/CaptionLabel.tsx#L9)
|