docs: type highlight (#4264)
This commit is contained in:
@@ -68,12 +68,12 @@ export default {
|
||||
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| type | Can be set to `primary` `info` `warning` | `string` | `danger` | - |
|
||||
| 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 | `any` | - | - |
|
||||
| onClick | Callback function after click | `Function` | - | - |
|
||||
| onOpened | Callback function after opened | `Function` | - | - |
|
||||
| onClose | Callback function after close | `Function` | - | - |
|
||||
| type | Can be set to `primary` `info` `warning` | *string* | `danger` | - |
|
||||
| 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 | *any* | - | - |
|
||||
| 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