ant-design/components/progress/demo/line.md
2016-03-31 09:40:55 +08:00

24 lines
414 B
Markdown

---
order: 0
title: 进度条
---
标准的进度条。
````jsx
import { Progress } from 'antd';
const ProgressLine = Progress.Line;
ReactDOM.render(
<div>
<ProgressLine percent={30} />
<ProgressLine percent={50} status="active" />
<ProgressLine percent={70} status="exception" />
<ProgressLine percent={100} />
<ProgressLine percent={50} showInfo={false} />
</div>
, mountNode);
````