mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-21 04:48:02 +08:00
38cf5e8a75
* docs: unify component export file as index.tsx * docs: compatible with old anchors * chore: clean * test: update snapshot * fix: window env --------- Co-authored-by: Peach <scdzwyxst@gmail.com>
23 lines
526 B
Markdown
Executable File
23 lines
526 B
Markdown
Executable File
## zh-CN
|
|
|
|
位置有十二个方向。如需箭头指向目标元素中心,可以设置 `arrow: { pointAtCenter: true }`。
|
|
|
|
## en-US
|
|
|
|
There are 12 `placement` options available. Use `arrow: { pointAtCenter: true }` if you want the arrow to point at the center of target.
|
|
|
|
<style>
|
|
#popconfirm-demo-placement .ant-btn {
|
|
margin-left: 0;
|
|
margin-right: 8px;
|
|
margin-bottom: 8px;
|
|
width: 70px;
|
|
text-align: center;
|
|
padding: 0;
|
|
}
|
|
#popconfirm-demo-placement .ant-btn-rtl {
|
|
margin-left: 8px;
|
|
margin-right: 0;
|
|
}
|
|
</style>
|