docs: update docs (#42735)

This commit is contained in:
kiner-tang(文辉) 2023-05-30 22:15:23 +08:00 committed by GitHub
parent 64fa8ed962
commit 99924dddc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,10 +1,10 @@
## zh-CN
位置有十二个方向。如需箭头指向目标元素中心,可以设置 `arrowPointAtCenter`。
位置有十二个方向。如需箭头指向目标元素中心,可以设置 `arrow: { pointAtCenter: true }`。
## en-US
There are 12 `placement` options available. Use `arrowPointAtCenter` if you want the arrow to point at the center of target.
There are 12 `placement` options available. Use `arrow: { pointAtCenter: true }` if you want the arrow to point at the center of target.
<style>
#components-popconfirm-demo-placement .ant-btn {