modify popconfirm & popover & tooltip placement

This commit is contained in:
zhujun24 2015-08-17 17:55:39 +08:00
parent cb2a711ee2
commit 7334a07025
3 changed files with 9 additions and 9 deletions

View File

@ -19,15 +19,15 @@ React.render(<div>
<Popconfirm placement="left" title={text} onConfirm={confirm}>
<a href="javascript:;">左边</a>
</Popconfirm>
<Popconfirm placement="right" title={text} onConfirm={confirm}>
<a href="javascript:;">右边</a>
</Popconfirm>
<Popconfirm placement="top" title={text} onConfirm={confirm}>
<a href="javascript:;">上边</a>
</Popconfirm>
<Popconfirm placement="bottom" title={text} onConfirm={confirm}>
<a href="javascript:;">下边</a>
</Popconfirm>
<Popconfirm placement="right" title={text} onConfirm={confirm}>
<a href="javascript:;">右边</a>
</Popconfirm>
</div>, document.getElementById('components-popconfirm-demo-placement'));
````

View File

@ -18,15 +18,15 @@ React.render(<div>
<Popover placement="left" title={text} overlay={content}>
<button className="ant-btn"></button>
</Popover>
<Popover placement="right" title={text} overlay={content}>
<button className="ant-btn"></button>
</Popover>
<Popover placement="top" title={text} overlay={content}>
<button className="ant-btn"></button>
</Popover>
<Popover placement="bottom" title={text} overlay={content}>
<button className="ant-btn"></button>
</Popover>
<Popover placement="right" title={text} overlay={content}>
<button className="ant-btn"></button>
</Popover>
</div>, document.getElementById('components-popover-demo-placement'));
````

View File

@ -15,15 +15,15 @@ React.render(
<Tooltip placement="left" title={text}>
<a href="#">左边左边</a>
</Tooltip>
<Tooltip placement="right" title={text}>
<a href="#">右边右边</a>
</Tooltip>
<Tooltip placement="top" title={text}>
<a href="#">上边上边</a>
</Tooltip>
<Tooltip placement="bottom" title={text}>
<a href="#">下边下边</a>
</Tooltip>
<Tooltip placement="right" title={text}>
<a href="#">右边右边</a>
</Tooltip>
</div>
, document.getElementById('components-tooltip-demo-placement'));
````