docs: improve classname typing (#7927)
This commit is contained in:
@@ -106,7 +106,7 @@ export default {
|
||||
| duration | Duration(ms), won't disappear if value is 0 | _number \| string_ | `3000` |
|
||||
| color | Message color | _string_ | `white` | |
|
||||
| background | Background color | _string_ | - |
|
||||
| className | Custom className | _any_ | - |
|
||||
| className | Custom className | _string \| Array \| object_ | - |
|
||||
| onClick | Callback function after click | _Function_ | - |
|
||||
| onOpened | Callback function after opened | _Function_ | - |
|
||||
| onClose | Callback function after close | _Function_ | - |
|
||||
|
||||
@@ -143,7 +143,7 @@ export default {
|
||||
| duration | 展示时长(ms),值为 0 时,notify 不会消失 | _number \| string_ | `3000` |
|
||||
| color | 字体颜色 | _string_ | `white` |
|
||||
| background | 背景颜色 | _string_ | - |
|
||||
| className | 自定义类名 | _any_ | - |
|
||||
| className | 自定义类名 | _string \| Array \| object_ | - |
|
||||
| onClick | 点击时的回调函数 | _Function_ | - |
|
||||
| onOpened | 完全展示后的回调函数 | _Function_ | - |
|
||||
| onClose | 关闭时的回调函数 | _Function_ | - |
|
||||
|
||||
Reference in New Issue
Block a user