mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-30 12:28:33 +08:00
12 lines
308 B
TypeScript
12 lines
308 B
TypeScript
import React from 'react';
|
|
import { Flex, Progress } from 'antd';
|
|
|
|
const App: React.FC = () => (
|
|
<Flex gap="small" wrap>
|
|
<Progress type="circle" percent={75} format={(percent) => `${percent} Days`} />
|
|
<Progress type="circle" percent={100} format={() => 'Done'} />
|
|
</Flex>
|
|
);
|
|
|
|
export default App;
|