[Doc] detailed Array typing

This commit is contained in:
陈嘉涵
2019-07-11 20:44:51 +08:00
parent 019c75506a
commit 2c4adff307
34 changed files with 67 additions and 66 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ toast2.clear();
| forbidClick | Whether to forbid click background | `boolean` | `false` |
| loadingType | Loading icon type, can be set to `spinner` | `string` | `circular` |
| duration | Toast duration(ms), won't disappear if value is 0 | `number` | `3000` |
| className | Custom className | `string | Array | object` | - |
| 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` |