2016-03-31 09:40:55 +08:00
|
|
|
---
|
|
|
|
order: 0
|
2016-12-02 15:07:03 +08:00
|
|
|
title:
|
2016-08-02 16:06:46 +08:00
|
|
|
zh-CN: 基本
|
|
|
|
en-US: Basic
|
2016-03-31 09:40:55 +08:00
|
|
|
---
|
2015-06-03 17:08:43 +08:00
|
|
|
|
2016-08-02 16:06:46 +08:00
|
|
|
## zh-CN
|
|
|
|
|
2015-06-03 17:08:43 +08:00
|
|
|
最简单的用法。
|
|
|
|
|
2016-12-02 15:07:03 +08:00
|
|
|
## en-US
|
2016-08-02 16:06:46 +08:00
|
|
|
|
|
|
|
The simplest usage.
|
|
|
|
|
2017-02-13 10:55:53 +08:00
|
|
|
````jsx
|
2015-10-28 20:55:49 +08:00
|
|
|
import { Tooltip } from 'antd';
|
2015-06-03 17:08:43 +08:00
|
|
|
|
2015-10-20 16:47:55 +08:00
|
|
|
ReactDOM.render(
|
2017-07-19 20:38:39 +08:00
|
|
|
<Tooltip title={undefined}>
|
2016-12-02 15:07:03 +08:00
|
|
|
<span>Tooltip will show when mouse enter.</span>
|
2015-06-03 17:08:43 +08:00
|
|
|
</Tooltip>
|
2015-12-29 12:08:58 +08:00
|
|
|
, mountNode);
|
2015-06-03 17:08:43 +08:00
|
|
|
````
|