From 53dcfb20a6201c52ce7988d9c9f89036657c12e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=B6=E6=9E=AB?= <7971419+crazyair@users.noreply.github.com> Date: Tue, 22 Oct 2024 13:09:00 +0800 Subject: [PATCH] docs: week add doc (#51334) --- components/date-picker/index.en-US.md | 1 + components/date-picker/index.zh-CN.md | 1 + 2 files changed, 2 insertions(+) diff --git a/components/date-picker/index.en-US.md b/components/date-picker/index.en-US.md index bea9546b6a..7a3abc8c28 100644 --- a/components/date-picker/index.en-US.md +++ b/components/date-picker/index.en-US.md @@ -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 diff --git a/components/date-picker/index.zh-CN.md b/components/date-picker/index.zh-CN.md index a76b0d324b..9a03f71515 100644 --- a/components/date-picker/index.zh-CN.md +++ b/components/date-picker/index.zh-CN.md @@ -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