mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-15 17:19:11 +08:00
b9a6b7b578
* demo: update demo * add form * clear * add Select * add * fix style * fix style * fix * revert
16 lines
444 B
TypeScript
16 lines
444 B
TypeScript
import { Button, Space, Tooltip } from 'antd';
|
|
import React from 'react';
|
|
|
|
const App: React.FC = () => (
|
|
<Space direction="vertical">
|
|
<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>
|
|
</Space>
|
|
);
|
|
|
|
export default App;
|