mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-15 17:31:25 +08:00
30f7dcc107
* docs: update demo use Space * update snap
12 lines
299 B
TypeScript
12 lines
299 B
TypeScript
import React from 'react';
|
|
import { Progress, Space } from 'antd';
|
|
|
|
const App: React.FC = () => (
|
|
<Space wrap>
|
|
<Progress type="circle" percent={75} format={(percent) => `${percent} Days`} />
|
|
<Progress type="circle" percent={100} format={() => 'Done'} />
|
|
</Space>
|
|
);
|
|
|
|
export default App;
|