mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-23 06:58:33 +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;
|