You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
290 B
18 lines
290 B
10 years ago
|
# 位置
|
||
|
|
||
|
- order: 1
|
||
|
|
||
|
位置有四个方向。
|
||
|
|
||
|
---
|
||
|
|
||
|
````jsx
|
||
|
var Tooltip = antd.tooltip;
|
||
|
|
||
|
React.render(
|
||
|
<Tooltip placement="right" title={<span>提示文字</span>}>
|
||
|
<a href="#">右边右边右边</a>
|
||
|
</Tooltip>
|
||
|
, document.getElementById('components-tooltip-demo-placement'));
|
||
|
````
|