# 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)