docs: improve hex readability

This commit is contained in:
陈嘉涵
2020-01-29 15:50:28 +08:00
parent 72fbbc3b15
commit 1917636b87
12 changed files with 14 additions and 14 deletions

View File

@@ -71,7 +71,7 @@ export default {
| type `v2.1.6` | Can be set to `primary` `success` `warning` | *string* | `danger` |
| message | Message | *string* | - |
| duration | Duration(ms), won't disappear if value is 0 | *number \| string* | `3000` |
| color | Message color | *string* | `#fff` | |
| color | Message color | *string* | `white` | |
| background | Background color | *string* | - |
| className | Custom className | *any* | - |
| onClick | Callback function after click | *Function* | - |

View File

@@ -82,7 +82,7 @@ export default {
| type `v2.1.6` | 类型,可选值为 `primary` `success` `warning` | *string* | `danger` |
| message | 展示文案,支持通过`\n`换行 | *string* | - |
| duration | 展示时长(ms),值为 0 时notify 不会消失 | *number \| string* | `3000` |
| color | 字体颜色 | *string* | `#fff` |
| color | 字体颜色 | *string* | `white` |
| background | 背景颜色 | *string* | - |
| className | 自定义类名 | *any* | - |
| onClick | 点击时的回调函数 | *Function* | - |