docs: update API docs for Notification

This commit is contained in:
Benjy Cui 2017-05-05 14:34:33 +08:00
parent f58615dc35
commit f870db26f5
2 changed files with 4 additions and 0 deletions

View File

@ -32,6 +32,8 @@ The properties of config are as follows:
|----------- |--------------------------------------------- | ----------- |--------|
| message | The title of notification box (required) | string\|ReactNode | - |
| description | The content of notification box (required) | string\|ReactNode | - |
| className | Customized CSS class | string | - |
| style | Customized inline style | Object | - |
| btn | Customized close button | ReactNode | - |
| icon | Customized icon | ReactNode | _ |
| key | The unique identifier of current notification | string | - |

View File

@ -32,6 +32,8 @@ config 参数如下:
|----------- |--------------------------------------------- | ----------- |--------|
| message | 通知提醒标题,必选 | string\|ReactNode | - |
| description | 通知提醒内容,必选 | string\|ReactNode | - |
| className | 自定义 CSS class | string | - |
| style | 自定义内联样式 | Object | - |
| btn | 自定义关闭按钮 | ReactNode | - |
| icon | 自定义图标 | ReactNode | - |
| key | 当前通知唯一标志 | string | - |