Skip to content

Commit afebeb9

Browse files
authored
docs(DatePicker): updating deprecated API (#7570)
1 parent aeda263 commit afebeb9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/date-picker/index.en-US.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ The following APIs are shared by DatePicker, RangePicker.
8585
| disabled | Determine whether the DatePicker is disabled | boolean | false | |
8686
| disabledDate | Specify the date that cannot be selected | (currentDate: dayjs) => boolean | - | |
8787
| format | To set the date format, refer to [dayjs](https://day.js.org/). When an array is provided, all values are used for parsing and first value is used for formatting, support [Custom Format](#components-date-picker-demo-format) | [formatType](#formattype) | `YYYY-MM-DD` | |
88-
| dropdownClassName | To customize the className of the popup calendar | string | - | |
88+
| popupClassName | To customize the className of the popup calendar | string | - | |
8989
| getPopupContainer | To set the container of the floating layer, while the default is to create a `div` element in `body` | function(trigger) | - | |
9090
| inputReadOnly | Set the `readonly` attribute of the input tag (avoids virtual keyboard on touch devices) | boolean | false | |
9191
| locale | Localization configuration | object | [default](https://github.com/vueComponent/ant-design-vue/blob/main/components/date-picker/locale/example.json) | |

components/date-picker/index.zh-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ coverDark: https://mdn.alipayobjects.com/huamei_7uahnr/afts/img/A*3OpRQKcygo8AAA
8686
| disabled | 禁用 | boolean | false | |
8787
| disabledDate | 不可选择的日期 | (currentDate: dayjs) => boolean | - | |
8888
| format | 设置日期格式,为数组时支持多格式匹配,展示以第一个为准。配置参考 [dayjs](https://day.js.org/docs/zh-CN/display/format),支持[自定义格式](#components-date-picker-demo-format) | [formatType](#formattype) | `YYYY-MM-DD` | |
89-
| dropdownClassName | 额外的弹出日历 className | string | - | |
89+
| popupClassName | 额外的弹出日历 className | string | - | |
9090
| getPopupContainer | 定义浮层的容器,默认为 body 上新建 div | function(trigger) | - | |
9191
| inputReadOnly | 设置输入框为只读(避免在移动设备上打开虚拟键盘) | boolean | false | |
9292
| locale | 国际化配置 | object | [默认配置](https://github.com/vueComponent/ant-design-vue/blob/main/components/date-picker/locale/example.json) | - |

0 commit comments

Comments
 (0)