mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-15 08:59:15 +08:00
19 lines
384 B
TypeScript
19 lines
384 B
TypeScript
import React from 'react';
|
|
import { Flex, Progress } from 'antd';
|
|
|
|
const App: React.FC = () => (
|
|
<Flex align="center" gap="small">
|
|
<Progress
|
|
type="circle"
|
|
trailColor="#e6f4ff"
|
|
percent={60}
|
|
strokeWidth={20}
|
|
size={14}
|
|
format={(number) => `进行中,已完成${number}%`}
|
|
/>
|
|
<span>代码发布</span>
|
|
</Flex>
|
|
);
|
|
|
|
export default App;
|