Skip to content

Commit 612c500

Browse files
authored
docs: update alert & drawer doc in closeIcon default value (#5838)
1 parent 151555b commit 612c500

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

components/alert/index.en-US.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Alert component for feedback.
1919
| afterClose | Called when close animation is finished | () => void | - | |
2020
| banner | Whether to show as banner | boolean | false | |
2121
| closable | Whether Alert can be closed | boolean | | |
22-
| closeIcon | Custom close icon | slot | <CloseOutlined /> | 3.0 |
22+
| closeIcon | Custom close icon | slot | `<CloseOutlined />` | 3.0 |
2323
| closeText | Close text to show | string\|slot | - | |
2424
| description | Additional content of Alert | string\|slot | - | |
2525
| icon | Custom icon, effective when `showIcon` is `true` | vnode \| slot | - | |

components/alert/index.zh-CN.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ cover: https://gw.alipayobjects.com/zos/alicdn/8emPa3fjl/Alert.svg
2020
| afterClose | 关闭动画结束后触发的回调函数 | () => void | - | |
2121
| banner | 是否用作顶部公告 | boolean | false | |
2222
| closable | 默认不显示关闭按钮 | boolean || |
23-
| closeIcon | 自定义关闭 Icon | slot | <CloseOutlined /> | 3.0 |
23+
| closeIcon | 自定义关闭 Icon | slot | `<CloseOutlined />` | 3.0 |
2424
| closeText | 自定义关闭按钮 | string\|slot || |
2525
| description | 警告提示的辅助性文字介绍 | string\|slot || |
2626
| icon | 自定义图标,`showIcon``true` 时有效 | vnode\|slot | - | |

components/drawer/index.en-US.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ A Drawer is a panel that is typically overlaid on top of a page and slides in fr
2323
| bodyStyle | Style of the drawer content part | CSSProperties | - | |
2424
| class | The class name of the container of the Drawer dialog | string | - | |
2525
| closable | Whether a close (x) button is visible on top left of the Drawer dialog or not | boolean | true | |
26-
| closeIcon | Custom close icon | VNode \| slot | <CloseOutlined /> | 3.0.0 |
26+
| closeIcon | Custom close icon | VNode \| slot | `<CloseOutlined />` | 3.0.0 |
2727
| contentWrapperStyle | Style of the drawer wrapper of content part | CSSProperties | - | 3.0.0 |
2828
| destroyOnClose | Whether to unmount child components on closing drawer or not | boolean | false | |
2929
| drawerStyle | Style of the popup layer element | object | - | |

components/drawer/index.zh-CN.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ cover: https://gw.alipayobjects.com/zos/alicdn/7z8NJQhFb/Drawer.svg
2323
| bodyStyle | 可用于设置 Drawer 内容部分的样式 | CSSProperties | - | |
2424
| class | 对话框外层容器的类名 | string | - | |
2525
| closable | 是否显示左上角的关闭按钮 | boolean | true | |
26-
| closeIcon | 自定义关闭图标 | VNode \| slot | <CloseOutlined /> | 3.0.0 |
26+
| closeIcon | 自定义关闭图标 | VNode \| slot | `<CloseOutlined />` | 3.0.0 |
2727
| contentWrapperStyle | 可用于设置 Drawer 包裹内容部分的样式 | CSSProperties | - | 3.0.0 |
2828
| destroyOnClose | 关闭时销毁 Drawer 里的子元素 | boolean | false | |
2929
| drawerStyle | 用于设置 Drawer 弹出层的样式 | object | - | |

0 commit comments

Comments
 (0)