[new feature] Toast: add get-container prop (#2724)

This commit is contained in:
neverland
2019-02-12 19:39:45 +08:00
committed by GitHub
parent c778a50cd4
commit ba811b50b0
4 changed files with 18 additions and 11 deletions
+1
View File
@@ -106,3 +106,4 @@ toast2.clear();
| 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` | - |
| get-container | Return the mount node for Popup | `String | () => HTMLElement` | `body` |