From 4ea318be3027dcc8932b1a60a4b4d0838c9bf8af Mon Sep 17 00:00:00 2001 From: Simon He <57086651+Simon-He95@users.noreply.github.com> Date: Mon, 17 Jul 2023 09:07:49 +0800 Subject: [PATCH] docs(drawer): fix typo (#6736) --- components/drawer/index.en-US.md | 2 +- components/drawer/index.zh-CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/drawer/index.en-US.md b/components/drawer/index.en-US.md index 43838d1a9..f915a87b7 100644 --- a/components/drawer/index.en-US.md +++ b/components/drawer/index.en-US.md @@ -54,7 +54,7 @@ A Drawer is a panel that is typically overlaid on top of a page and slides in fr ## Events -| Name | Description | Type | Default | Version | +| Events Name | Description | Type | Default | Version | | --- | --- | --- | --- | --- | | afterOpenChange | Callback after the animation ends when switching drawers. | function(open) | - | 4.0 | | close | Specify a callback that will be called when a user clicks mask, close button or Cancel button. | function(e) | - | | diff --git a/components/drawer/index.zh-CN.md b/components/drawer/index.zh-CN.md index 1f444e8b7..a64af5eeb 100644 --- a/components/drawer/index.zh-CN.md +++ b/components/drawer/index.zh-CN.md @@ -53,7 +53,7 @@ coverDark: https://mdn.alipayobjects.com/huamei_7uahnr/afts/img/A*4wzwRIBLuqEAAA ## 事件 -| 名称 | 描述 | 类型 | 默认值 | 版本 | +| 事件名称 | 描述 | 类型 | 默认值 | 版本 | | --------------- | ------------------------------------ | -------------- | ------ | ---- | | afterOpenChange | 切换抽屉时动画结束后的回调 | function(open) | 无 | 4.0 | | close | 点击遮罩层或左上角叉或取消按钮的回调 | function(e) | 无 | |