From 612c5000b510cc5fa28096f4c320d26d9bd6f4f4 Mon Sep 17 00:00:00 2001 From: peritot Date: Sun, 24 Jul 2022 09:13:57 +0800 Subject: [PATCH] docs: update alert & drawer doc in closeIcon default value (#5838) --- components/alert/index.en-US.md | 2 +- components/alert/index.zh-CN.md | 2 +- components/drawer/index.en-US.md | 2 +- components/drawer/index.zh-CN.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/alert/index.en-US.md b/components/alert/index.en-US.md index 798566acb..de53d0c55 100644 --- a/components/alert/index.en-US.md +++ b/components/alert/index.en-US.md @@ -19,7 +19,7 @@ Alert component for feedback. | afterClose | Called when close animation is finished | () => void | - | | | banner | Whether to show as banner | boolean | false | | | closable | Whether Alert can be closed | boolean | | | -| closeIcon | Custom close icon | slot | | 3.0 | +| closeIcon | Custom close icon | slot | `` | 3.0 | | closeText | Close text to show | string\|slot | - | | | description | Additional content of Alert | string\|slot | - | | | icon | Custom icon, effective when `showIcon` is `true` | vnode \| slot | - | | diff --git a/components/alert/index.zh-CN.md b/components/alert/index.zh-CN.md index f754d25a8..b7ae476ae 100644 --- a/components/alert/index.zh-CN.md +++ b/components/alert/index.zh-CN.md @@ -20,7 +20,7 @@ cover: https://gw.alipayobjects.com/zos/alicdn/8emPa3fjl/Alert.svg | afterClose | 关闭动画结束后触发的回调函数 | () => void | - | | | banner | 是否用作顶部公告 | boolean | false | | | closable | 默认不显示关闭按钮 | boolean | 无 | | -| closeIcon | 自定义关闭 Icon | slot | | 3.0 | +| closeIcon | 自定义关闭 Icon | slot | `` | 3.0 | | closeText | 自定义关闭按钮 | string\|slot | 无 | | | description | 警告提示的辅助性文字介绍 | string\|slot | 无 | | | icon | 自定义图标,`showIcon` 为 `true` 时有效 | vnode\|slot | - | | diff --git a/components/drawer/index.en-US.md b/components/drawer/index.en-US.md index 4d9cb97df..8937a4f52 100644 --- a/components/drawer/index.en-US.md +++ b/components/drawer/index.en-US.md @@ -23,7 +23,7 @@ A Drawer is a panel that is typically overlaid on top of a page and slides in fr | bodyStyle | Style of the drawer content part | CSSProperties | - | | | class | The class name of the container of the Drawer dialog | string | - | | | closable | Whether a close (x) button is visible on top left of the Drawer dialog or not | boolean | true | | -| closeIcon | Custom close icon | VNode \| slot | | 3.0.0 | +| closeIcon | Custom close icon | VNode \| slot | `` | 3.0.0 | | contentWrapperStyle | Style of the drawer wrapper of content part | CSSProperties | - | 3.0.0 | | destroyOnClose | Whether to unmount child components on closing drawer or not | boolean | false | | | drawerStyle | Style of the popup layer element | object | - | | diff --git a/components/drawer/index.zh-CN.md b/components/drawer/index.zh-CN.md index cd18b8140..f6ef2648c 100644 --- a/components/drawer/index.zh-CN.md +++ b/components/drawer/index.zh-CN.md @@ -23,7 +23,7 @@ cover: https://gw.alipayobjects.com/zos/alicdn/7z8NJQhFb/Drawer.svg | bodyStyle | 可用于设置 Drawer 内容部分的样式 | CSSProperties | - | | | class | 对话框外层容器的类名 | string | - | | | closable | 是否显示左上角的关闭按钮 | boolean | true | | -| closeIcon | 自定义关闭图标 | VNode \| slot | | 3.0.0 | +| closeIcon | 自定义关闭图标 | VNode \| slot | `` | 3.0.0 | | contentWrapperStyle | 可用于设置 Drawer 包裹内容部分的样式 | CSSProperties | - | 3.0.0 | | destroyOnClose | 关闭时销毁 Drawer 里的子元素 | boolean | false | | | drawerStyle | 用于设置 Drawer 弹出层的样式 | object | - | |