[new feature] Toast: add iconPrefix option (#3872)

This commit is contained in:
neverland
2019-07-17 10:34:02 +08:00
committed by GitHub
parent e653484f39
commit 1c09a44751
6 changed files with 24 additions and 2 deletions
+1
View File
@@ -117,6 +117,7 @@ toast2.clear();
| position | Can be set to `top` `middle` `bottom` | `string` | `middle` |
| message | Message | `string` | `''` |
| icon | Custom icon | `string` | - |
| iconPrefix | Icon className prefix | `string` | `van-icon` |
| mask | Whether to show mask | `boolean` | `false` |
| forbidClick | Whether to forbid click background | `boolean` | `false` |
| loadingType | Loading icon type, can be set to `spinner` | `string` | `circular` |