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.

17 lines
229 B

---
order: 0
title: 基本
---
10 years ago
最简单的用法。
````jsx
import { Tooltip } from 'antd';
10 years ago
9 years ago
ReactDOM.render(
<Tooltip title="提示文字">
10 years ago
<span>鼠标移上来就会出现提示</span>
10 years ago
</Tooltip>
, mountNode);
10 years ago
````