File size: 988 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: CaptionProps
Represent the props of the [Caption](../functions/Caption.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/Caption.tsx:20](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/components/Caption.tsx#L20)
***
### displayMonth
> **displayMonth**: `Date`
The month where the caption is displayed.
#### Source
[src/components/Caption.tsx:15](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/components/Caption.tsx#L15)
***
### 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](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/components/Caption.tsx#L13)
|