mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-16 01:41:02 +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;
|