ant-design/components/popconfirm/demo/placement.md
lijianan b9a6b7b578
demo: update demo (#40318)
* demo: update demo

* add form

* clear

* add Select

* add

* fix style

* fix style

* fix

* revert
2023-01-19 15:37:54 +08:00

23 lines
524 B
Markdown
Executable File

## zh-CN
位置有十二个方向。如需箭头指向目标元素中心,可以设置 `arrowPointAtCenter`
## en-US
There are 12 `placement` options available. Use `arrowPointAtCenter` if you want the arrow to point at the center of target.
<style>
#components-popconfirm-demo-placement .ant-btn {
margin-left: 0;
margin-right: 8px;
margin-bottom: 8px;
width: 70px;
text-align: center;
padding: 0;
}
#components-popconfirm-demo-placement .ant-btn-rtl {
margin-left: 8px;
margin-right: 0;
}
</style>