You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
406 B
16 lines
406 B
2 years ago
|
import React from 'react';
|
||
|
import { Button, Tooltip } from 'antd';
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<>
|
||
|
<Tooltip placement="topLeft" title="Prompt Text">
|
||
|
<Button>Align edge / 边缘对齐</Button>
|
||
|
</Tooltip>
|
||
|
<Tooltip placement="topLeft" title="Prompt Text" arrowPointAtCenter>
|
||
|
<Button>Arrow points to center / 箭头指向中心</Button>
|
||
|
</Tooltip>
|
||
|
</>
|
||
|
);
|
||
|
|
||
|
export default App;
|