mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-22 22:48:29 +08:00
a55195f25b
* demo: update demo * fix: fix * fix: fix * fix: fix
16 lines
309 B
TypeScript
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;
|