Skip to content

Commit e242c9a

Browse files
authored
docs(drawer): rm useless tip (ant-design#56917)
1 parent 95680f9 commit e242c9a

2 files changed

Lines changed: 0 additions & 10 deletions

File tree

components/drawer/index.en-US.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,6 @@ A Drawer is a panel that is typically overlaid on top of a page and slides in fr
4848

4949
Common props ref:[Common props](/docs/react/common-props)
5050

51-
<!-- prettier-ignore -->
52-
:::warning{title=Note}
53-
v5 uses `rootClassName` & `rootStyle` to configure the outermost element style, instead of `className` & `style` from v4. This is done to align the API with Modal.
54-
:::
55-
5651
| Props | Description | Type | Default | Version |
5752
| --- | --- | --- | --- | --- |
5853
| afterOpenChange | Callback after the animation ends when switching drawers | function(open) | - | |

components/drawer/index.zh-CN.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,6 @@ demo:
4848

4949
通用属性参考:[通用属性](/docs/react/common-props)
5050

51-
<!-- prettier-ignore -->
52-
:::warning{title=注意}
53-
v5 使用 `rootClassName``rootStyle` 来配置最外层元素样式。原 v4 `className``style` 改至配置 Drawer 窗体样式以和 Modal 对齐。
54-
:::
55-
5651
| 参数 | 说明 | 类型 | 默认值 | 版本 |
5752
| --- | --- | --- | --- | --- |
5853
| afterOpenChange | 切换抽屉时动画结束后的回调 | function(open) | - | |

0 commit comments

Comments
 (0)