[new feature] Toast: add className prop (#2680)

This commit is contained in:
neverland
2019-02-03 12:22:38 +08:00
committed by GitHub
parent d20b7fdcbf
commit ca4e476ddd
5 changed files with 7 additions and 3 deletions

View File

@@ -104,4 +104,5 @@ toast2.clear();
| 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` |
| duration | Toast duration(ms), won't disappear if value is 0 | `Number` | `3000` |
| duration | Toast duration(ms), won't disappear if value is 0 | `Number` | `3000` |
| className | Custom className | `String | Array | Object` | - |