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