diff --git a/components/popconfirm/index.en-US.md b/components/popconfirm/index.en-US.md index 38de143fc..66115882b 100644 --- a/components/popconfirm/index.en-US.md +++ b/components/popconfirm/index.en-US.md @@ -2,8 +2,8 @@ | Param | Description | Type | Default value | | ----- | ----------- | ---- | ------------- | -| cancelText | text of the Cancel button | string | `Cancel` | -| okText | text of the Confirm button | string | `Confirm` | +| cancelText | text of the Cancel button | string\|slot | `Cancel` | +| okText | text of the Confirm button | string\|slot | `Confirm` | | okType | Button `type` of the Confirm button | string | `primary` | | title | title of the confirmation box | string\|slot | - | diff --git a/components/popconfirm/index.zh-CN.md b/components/popconfirm/index.zh-CN.md index 823cba49e..c8a536e1a 100644 --- a/components/popconfirm/index.zh-CN.md +++ b/components/popconfirm/index.zh-CN.md @@ -2,8 +2,8 @@ | 参数 | 说明 | 类型 | 默认值 | | --- | --- | --- | --- | -| cancelText | 取消按钮文字 | string | 取消 | -| okText | 确认按钮文字 | string | 确定 | +| cancelText | 取消按钮文字 | string\|slot | 取消 | +| okText | 确认按钮文字 | string\|slot | 确定 | | okType | 确认按钮类型 | string | primary | | title | 确认框的描述 | string\|slot | 无 |