ant-design/components/tooltip/demo/basic.md

25 lines
293 B
Markdown
Raw Normal View History

2016-03-31 09:40:55 +08:00
---
order: 0
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
最简单的用法。
## en-US
2016-08-02 16:06:46 +08:00
The simplest usage.
2017-02-13 10:55:53 +08:00
````jsx
import { Tooltip } from 'antd';
2015-06-03 17:08:43 +08:00
2015-10-20 16:47:55 +08:00
ReactDOM.render(
<Tooltip title={undefined}>
<span>Tooltip will show when mouse enter.</span>
2015-06-03 17:08:43 +08:00
</Tooltip>
, mountNode);
2015-06-03 17:08:43 +08:00
````