feat(Popup): add close-icon-position prop (#4507)

This commit is contained in:
neverland
2019-09-19 17:14:14 +08:00
committed by GitHub
parent 68da81a51a
commit 971b218873
18 changed files with 139 additions and 58 deletions
+1 -1
View File
@@ -127,4 +127,4 @@ toast2.clear();
| className | Custom className | *any* | - | - |
| onOpened | Callback function after opened | *Function* | - | - |
| onClose | Callback function after close | *Function* | - | - |
| getContainer | Return the mount node for Toast | *string \| () => HTMLElement* | `body` | - |
| getContainer | Return the mount node for Toast | *string \| () => Element* | `body` | - |
+1 -1
View File
@@ -127,4 +127,4 @@ toast2.clear();
| className | 自定义类名 | *any* | - | - |
| onOpened | 完全展示后的回调函数 | *Function* | - | - |
| onClose | 关闭时的回调函数 | *Function* | - | - |
| getContainer | 指定挂载的节点,可以传入选择器,<br>或一个返回节点的函数 | *string \| () => HTMLElement* | `body` | - |
| getContainer | 指定挂载的节点,可以传入选择器,<br>或一个返回节点的函数 | *string \| () => Element* | `body` | - |