From 90a12fa3d010dc5bfbc6b161c5d29d870e4f7ddc Mon Sep 17 00:00:00 2001 From: Tom Xu Date: Mon, 27 Apr 2020 11:52:31 +0800 Subject: [PATCH] docs: fix popconfirm doc (#23644) * docs: fix popconfirm doc * Update index.en-US.md --- components/popconfirm/index.en-US.md | 2 ++ components/popconfirm/index.zh-CN.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/components/popconfirm/index.en-US.md b/components/popconfirm/index.en-US.md index 9a1f490dc7..96ab905085 100644 --- a/components/popconfirm/index.en-US.md +++ b/components/popconfirm/index.en-US.md @@ -19,6 +19,8 @@ The difference with the `confirm` modal dialog is that it's more lightweight tha | cancelText | text of the Cancel button | string | `Cancel` | | okText | text of the Confirm button | string | `OK` | | okType | Button `type` of the Confirm button | string | `primary` | +| okButtonProps | The ok button props | [ButtonProps](/components/button) | - | +| cancelButtonProps | The cancel button props | [ButtonProps](/components/button) | - | | title | title of the confirmation box | string\|ReactNode\|() => ReactNode | - | | onCancel | callback of cancel | function(e) | - | | onConfirm | callback of confirmation | function(e) | - | diff --git a/components/popconfirm/index.zh-CN.md b/components/popconfirm/index.zh-CN.md index dd4366ed34..d8c50f7fc4 100644 --- a/components/popconfirm/index.zh-CN.md +++ b/components/popconfirm/index.zh-CN.md @@ -20,6 +20,8 @@ title: Popconfirm | cancelText | 取消按钮文字 | string | 取消 | | okText | 确认按钮文字 | string | 确定 | | okType | 确认按钮类型 | string | primary | +| okButtonProps | ok 按钮 props | [ButtonProps](/components/button) | - | +| cancelButtonProps | cancel 按钮 props | [ButtonProps](/components/button) | - | | title | 确认框的描述 | string\|ReactNode\|() => ReactNode | - | | onCancel | 点击取消的回调 | function(e) | - | | onConfirm | 点击确认的回调 | function(e) | - |