--- order: 2 title: zh-CN: 位置 en-US: Placement --- ## 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. ```jsx import { Popconfirm, message, Button } from 'antd'; const text = 'Are you sure to delete this task?'; function confirm() { message.info('Clicked on Yes.'); } ReactDOM.render(
, mountNode, ); ```