mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 03:29:59 +08:00
30f7dcc107
* docs: update demo use Space * update snap
21 lines
599 B
TypeScript
21 lines
599 B
TypeScript
import React from 'react';
|
|
import { Progress, Tooltip, Space } from 'antd';
|
|
|
|
const App: React.FC = () => (
|
|
<>
|
|
<Tooltip title="3 done / 3 in progress / 4 to do">
|
|
<Progress percent={60} success={{ percent: 30 }} />
|
|
</Tooltip>
|
|
<Space wrap>
|
|
<Tooltip title="3 done / 3 in progress / 4 to do">
|
|
<Progress percent={60} success={{ percent: 30 }} type="circle" />
|
|
</Tooltip>
|
|
<Tooltip title="3 done / 3 in progress / 4 to do">
|
|
<Progress percent={60} success={{ percent: 30 }} type="dashboard" />
|
|
</Tooltip>
|
|
</Space>
|
|
</>
|
|
);
|
|
|
|
export default App;
|