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