docs: update alert & drawer doc in closeIcon default value (#5838)
							parent
							
								
									151555b7b7
								
							
						
					
					
						commit
						612c5000b5
					
				|  | @ -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 | <CloseOutlined /> | 3.0 | | ||||
| | closeIcon | Custom close icon | slot | `<CloseOutlined />` | 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 | - |  | | ||||
|  |  | |||
|  | @ -20,7 +20,7 @@ cover: https://gw.alipayobjects.com/zos/alicdn/8emPa3fjl/Alert.svg | |||
| | afterClose | 关闭动画结束后触发的回调函数 | () => void | - |  | | ||||
| | banner | 是否用作顶部公告 | boolean | false |  | | ||||
| | closable | 默认不显示关闭按钮 | boolean | 无 |  | | ||||
| | closeIcon | 自定义关闭 Icon | slot | <CloseOutlined /> | 3.0 | | ||||
| | closeIcon | 自定义关闭 Icon | slot | `<CloseOutlined />` | 3.0 | | ||||
| | closeText | 自定义关闭按钮 | string\|slot | 无 |  | | ||||
| | description | 警告提示的辅助性文字介绍 | string\|slot | 无 |  | | ||||
| | icon | 自定义图标,`showIcon` 为 `true` 时有效 | vnode\|slot | - |  | | ||||
|  |  | |||
|  | @ -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 | <CloseOutlined /> | 3.0.0 | | ||||
| | closeIcon | Custom close icon | VNode \| slot | `<CloseOutlined />` | 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 | - |  | | ||||
|  |  | |||
|  | @ -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 | <CloseOutlined /> | 3.0.0 | | ||||
| | closeIcon | 自定义关闭图标 | VNode \| slot | `<CloseOutlined />` | 3.0.0 | | ||||
| | contentWrapperStyle | 可用于设置 Drawer 包裹内容部分的样式 | CSSProperties | - | 3.0.0 | | ||||
| | destroyOnClose | 关闭时销毁 Drawer 里的子元素 | boolean | false |  | | ||||
| | drawerStyle | 用于设置 Drawer 弹出层的样式 | object | - |  | | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 peritot
						peritot