From 832b054aad1d4490bd28e575ee9c5d375a53e76a Mon Sep 17 00:00:00 2001 From: vagusX Date: Fri, 18 Nov 2022 13:42:10 +0800 Subject: [PATCH] fix: typo in doc (#38670) --- docs/react/migration-v5.zh-CN.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/react/migration-v5.zh-CN.md b/docs/react/migration-v5.zh-CN.md index 562d27c48c..6f71de5dcd 100644 --- a/docs/react/migration-v5.zh-CN.md +++ b/docs/react/migration-v5.zh-CN.md @@ -115,7 +115,7 @@ title: 从 v4 到 v5 - `getPopupContainer`: 所有的 `getPopupContainer` 都需要保证返回的是唯一的 div。React 18 concurrent 下会反复调用该方法。 - Upload List dom 结构变化。[#34528](https://github.com/ant-design/ant-design/pull/34528) - Notification - - 静态方法不在允许在 `open` 中动态设置 `prefixCls` `maxCount` `top` `bottom` `getContainer`,Notification 静态方法现在将只有一个实例。如果需要不同配置,请使用 `useNotification`。 + - 静态方法不再允许在 `open` 中动态设置 `prefixCls` `maxCount` `top` `bottom` `getContainer`,Notification 静态方法现在将只有一个实例。如果需要不同配置,请使用 `useNotification`。 - `close` 改名为 `destroy`,和 message 保持一致。 - Drawer `style` 和 `className` 迁移至 Drawer 弹层区域上,原属性替换为 `rootClassName` 和 `rootStyle`。