mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 20:19:44 +08:00
14 lines
363 B
TypeScript
14 lines
363 B
TypeScript
|
import React from 'react';
|
||
|
import { Progress } from 'antd';
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<div style={{ width: 170 }}>
|
||
|
<Progress percent={30} size="small" />
|
||
|
<Progress percent={50} size="small" status="active" />
|
||
|
<Progress percent={70} size="small" status="exception" />
|
||
|
<Progress percent={100} size="small" />
|
||
|
</div>
|
||
|
);
|
||
|
|
||
|
export default App;
|