docs: week add doc (#51334)

This commit is contained in:
叶枫 2024-10-22 13:09:00 +08:00 committed by GitHub
parent 69330b21ea
commit 53dcfb20a6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -201,6 +201,7 @@ Added in `4.1.0`.
| renderExtraFooter | Render extra footer in panel | (mode) => React.ReactNode | - | |
| value | To set date | [dayjs](https://day.js.org/) | - | |
| onChange | Callback function, can be executed when the selected time is changing | function(date: dayjs, dateString: string) | - | |
| showWeek | Show week info when in DatePicker | boolean | true | |
### RangePicker

View File

@ -202,6 +202,7 @@ dayjs.locale('zh-cn');
| renderExtraFooter | 在面板中添加额外的页脚 | (mode) => React.ReactNode | - | |
| value | 日期 | [dayjs](https://day.js.org/) | - | |
| onChange | 时间发生变化的回调,发生在用户选择时间时 | function(date: dayjs, dateString: string) | - | |
| showWeek | DatePicker 下展示当前周 | boolean | true | |
### RangePicker