mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-21 04:48:02 +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;
|