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