Skip to content

Commit 14940f1

Browse files
authored
docs: fix captionLayout props doc (#2787)
1 parent 6619244 commit 14940f1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/types/props.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,11 +203,11 @@ export interface PropsBase {
203203
/**
204204
* Show dropdowns to navigate between months or years.
205205
*
206-
* - `true`: display the dropdowns for both month and year
207206
* - `label`: display the month and the year as a label. Change the label with
208207
* the `formatCaption` formatter.
209-
* - `month`: display only the dropdown for the months
210-
* - `year`: display only the dropdown for the years
208+
* - `dropdown`: display the dropdowns for both month and year
209+
* - `dropdown-months`: display only the dropdown for the months
210+
* - `dropdown-years`: display only the dropdown for the years
211211
*
212212
* **Note:** By default, showing the dropdown will set the {@link startMonth}
213213
* to 100 years ago and {@link endMonth} to the end of the current year. You

0 commit comments

Comments
 (0)