mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-02 15:59:38 +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;
|