From f870db26f54a14da60fbdd342258851509dade26 Mon Sep 17 00:00:00 2001 From: Benjy Cui Date: Fri, 5 May 2017 14:34:33 +0800 Subject: [PATCH] docs: update API docs for Notification --- components/notification/index.en-US.md | 2 ++ components/notification/index.zh-CN.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/components/notification/index.en-US.md b/components/notification/index.en-US.md index 563bdff5be..9f70d2b22c 100644 --- a/components/notification/index.en-US.md +++ b/components/notification/index.en-US.md @@ -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 | - | diff --git a/components/notification/index.zh-CN.md b/components/notification/index.zh-CN.md index be6dc0d59c..af272a0215 100644 --- a/components/notification/index.zh-CN.md +++ b/components/notification/index.zh-CN.md @@ -32,6 +32,8 @@ config 参数如下: |----------- |--------------------------------------------- | ----------- |--------| | message | 通知提醒标题,必选 | string\|ReactNode | - | | description | 通知提醒内容,必选 | string\|ReactNode | - | +| className | 自定义 CSS class | string | - | +| style | 自定义内联样式 | Object | - | | btn | 自定义关闭按钮 | ReactNode | - | | icon | 自定义图标 | ReactNode | - | | key | 当前通知唯一标志 | string | - |