mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 12:39:49 +08:00
docs: Drawer version error (#49208)
* Update index.zh-CN.md * Update index.en-US.md
This commit is contained in:
parent
5b34be186c
commit
1fc2461094
@ -78,7 +78,7 @@ v5 use `rootClassName` & `rootStyle` to config wrapper style instead of `classNa
|
||||
| width | Width of the Drawer dialog | string \| number | 378 | |
|
||||
| zIndex | The `z-index` of the Drawer | number | 1000 | |
|
||||
| onClose | Specify a callback that will be called when a user clicks mask, close button or Cancel button | function(e) | - | |
|
||||
| drawerRender | Custom drawer content render | (node: ReactNode) => ReactNode | - | 5.19.0 |
|
||||
| drawerRender | Custom drawer content render | (node: ReactNode) => ReactNode | - | 5.18.0 |
|
||||
|
||||
## Semantic DOM
|
||||
|
||||
|
@ -77,7 +77,7 @@ v5 使用 `rootClassName` 与 `rootStyle` 来配置最外层元素样式。原 v
|
||||
| width | 宽度 | string \| number | 378 | |
|
||||
| zIndex | 设置 Drawer 的 `z-index` | number | 1000 | |
|
||||
| onClose | 点击遮罩层或左上角叉或取消按钮的回调 | function(e) | - | |
|
||||
| drawerRender | 自定义渲染抽屉 | (node: ReactNode) => ReactNode | - | 5.19.0 |
|
||||
| drawerRender | 自定义渲染抽屉 | (node: ReactNode) => ReactNode | - | 5.18.0 |
|
||||
|
||||
## Semantic DOM
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user