[Doc] use ts-style type

This commit is contained in:
陈嘉涵
2019-07-11 20:35:41 +08:00
parent 32f19c5561
commit 019c75506a
120 changed files with 1288 additions and 1288 deletions
+5 -5
View File
@@ -53,11 +53,11 @@ export default {
| Attribute | Description | Type | Default |
|------|------|------|------|
| message | Message | `String` | - |
| duration | Duration(ms), won't disappear if value is 0 | `Number` | `3000` |
| color | Message color | `String` | `#fff` | |
| background | Background color | `String` | `#f44` |
| className | Custom className | `String | Array | Object` | - |
| message | Message | `string` | - |
| duration | Duration(ms), won't disappear if value is 0 | `number` | `3000` |
| color | Message color | `string` | `#fff` | |
| background | Background color | `string` | `#f44` |
| className | Custom className | `string | Array | object` | - |
| onClick | Callback function after click | `Function` | - |
| onOpened | Callback function after opened | `Function` | - |
| onClose | Callback function after close | `Function` | - |