mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-16 01:41:02 +08:00
12 lines
301 B
TypeScript
12 lines
301 B
TypeScript
|
import React from 'react';
|
||
|
import { Progress } from 'antd';
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<>
|
||
|
<Progress type="circle" percent={75} format={percent => `${percent} Days`} />
|
||
|
<Progress type="circle" percent={100} format={() => 'Done'} style={{ marginLeft: 8 }} />
|
||
|
</>
|
||
|
);
|
||
|
|
||
|
export default App;
|