mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-30 12:28:33 +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;
|