Browse Source

Merge branch 'master' into notification

pull/140/head
zhujun24 9 years ago
parent
commit
1c5b6fe0c7
  1. 6
      components/popconfirm/demo/placement.md
  2. 6
      components/popover/demo/placement.md
  3. 6
      components/tooltip/demo/placement.md

6
components/popconfirm/demo/placement.md

@ -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'));
````

6
components/popover/demo/placement.md

@ -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'));
````

6
components/tooltip/demo/placement.md

@ -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'));
````

Loading…
Cancel
Save