docs(DatePicker): add showWeek version (#51338)

This commit is contained in:
thinkasany 2024-10-22 16:00:58 +08:00 committed by GitHub
parent 53dcfb20a6
commit 4c71116efd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -201,7 +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 | |
| showWeek | Show week info when in DatePicker | boolean | true | 5.14.0 |
### RangePicker

View File

@ -202,7 +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 | |
| showWeek | DatePicker 下展示当前周 | boolean | true | 5.14.0 |
### RangePicker