ant-design/components/tooltip/demo/debug.tsx
lijianan a55195f25b
demo: update Popover & Tooltip & Popconfirm demo (#49815)
* demo: update demo

* fix: fix

* fix: fix

* fix: fix
2024-07-11 10:03:12 +08:00

16 lines
309 B
TypeScript

import React from 'react';
import { Button, Tooltip } from 'antd';
const App: React.FC = () => (
<Tooltip
open
title="Thanks for using antd. Have a nice day !"
arrow={{ pointAtCenter: true }}
placement="topLeft"
>
<Button>Point at center</Button>
</Tooltip>
);
export default App;