mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-13 23:59:12 +08:00
2cdf586291
* chore: fix lint * chore: fix lint * test: fix 16 * fix: lint
16 lines
308 B
TypeScript
16 lines
308 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;
|