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