mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-14 16:19:15 +08:00
11 lines
255 B
TypeScript
11 lines
255 B
TypeScript
|
import React from 'react';
|
||
|
import { Tooltip } from 'antd';
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<Tooltip destroyTooltipOnHide={{ keepParent: false }} title="prompt text">
|
||
|
<span>Tooltip will destroy when hidden.</span>
|
||
|
</Tooltip>
|
||
|
);
|
||
|
|
||
|
export default App;
|