mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 12:39:49 +08:00
docs(DatePicker): add showWeek version (#51338)
This commit is contained in:
parent
53dcfb20a6
commit
4c71116efd
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user