diff --git a/docs/en-US/component/calendar.md b/docs/en-US/component/calendar.md index 8182065faa..d8f20751de 100644 --- a/docs/en-US/component/calendar.md +++ b/docs/en-US/component/calendar.md @@ -69,3 +69,19 @@ Note, date time locale (month name, first day of the week ...) are also configur | pickDay | select a specific date | ^[Function]`(day: dayjs.Dayjs) => void` | | selectDate | select date | ^[Function]`(type: CalendarDateType) => void` | | calculateValidatedDateRange | Calculate the validate date range according to the start and end dates | ^[Function]`(startDayjs: dayjs.Dayjs, endDayjs: dayjs.Dayjs) => [dayjs.Dayjs, dayjs.Dayjs][]` | + +## Type Declarations + +
+ Show declarations + +```ts +type CalendarDateType = + | 'prev-month' + | 'next-month' + | 'prev-year' + | 'next-year' + | 'today' +``` + +