mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-15 09:21:22 +08:00
11 lines
210 B
TypeScript
11 lines
210 B
TypeScript
|
import React from 'react';
|
||
|
import { Tooltip } from 'antd';
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<Tooltip title="prompt text">
|
||
|
<span>Tooltip will show on mouse enter.</span>
|
||
|
</Tooltip>
|
||
|
);
|
||
|
|
||
|
export default App;
|