mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 03:29:39 +08:00
docs: update API docs for Notification
This commit is contained in:
parent
f58615dc35
commit
f870db26f5
@ -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 | - |
|
||||
|
@ -32,6 +32,8 @@ config 参数如下:
|
||||
|----------- |--------------------------------------------- | ----------- |--------|
|
||||
| message | 通知提醒标题,必选 | string\|ReactNode | - |
|
||||
| description | 通知提醒内容,必选 | string\|ReactNode | - |
|
||||
| className | 自定义 CSS class | string | - |
|
||||
| style | 自定义内联样式 | Object | - |
|
||||
| btn | 自定义关闭按钮 | ReactNode | - |
|
||||
| icon | 自定义图标 | ReactNode | - |
|
||||
| key | 当前通知唯一标志 | string | - |
|
||||
|
Loading…
Reference in New Issue
Block a user