[Doc] use ts-style type
This commit is contained in:
@@ -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` | - |
|
||||
|
||||
Reference in New Issue
Block a user