mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-05 01:19:45 +08:00
546 B
546 B
order | title | ||||
---|---|---|---|---|---|
2 |
|
zh-CN
适合放在较狭窄的区域内。
en-US
Appropriate for a narrow area.
import { Progress } from 'antd';
import React from 'react';
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;