diff --git a/components/popconfirm/index.md b/components/popconfirm/index.md index 9cfd85810c..5198031111 100644 --- a/components/popconfirm/index.md +++ b/components/popconfirm/index.md @@ -20,9 +20,9 @@ | 参数 | 说明 | 类型 | 默认值 | |-----------|------------------------------------------|---------------|--------| | placement | 气泡框位置,可选 `top/left/right/bottom` `topLeft/topRight/bottomLeft/bottomRight` `leftTop/leftBottom/rightTop/rightBottom` | string | top | -| title | 确认框的描述 | string | 无 | +| title | 确认框的描述 | React.Element | 无 | | onConfirm | 点击确认的回调 | function | 无 | -| onCancel | 卡片内容 | function | 无 | +| onCancel | 点击取消的回调 | function | 无 | | onVisibleChange | 显示隐藏的回调 | function(visible) | 无 | | okText | 确认按钮文字 | String | 确定 | | cancelText| 取消按钮文字 | String | 取消 | diff --git a/components/popover/demo/basic.md b/components/popover/demo/basic.md index cee2bbf698..2540f89301 100644 --- a/components/popover/demo/basic.md +++ b/components/popover/demo/basic.md @@ -2,7 +2,7 @@ - order: 0 -最简单的用法。 +最简单的用法,浮层的大小由内容区域决定。 ---