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

471 B

order title
2 小型进度条

适合放在较狭窄的区域内。

import { Progress } from 'antd';
const ProgressLine = Progress.Line;

ReactDOM.render(
  <div style={{ width: 170 }}>
    <ProgressLine percent={30} strokeWidth={5} />
    <ProgressLine percent={50} strokeWidth={5} status="active" />
    <ProgressLine percent={70} strokeWidth={5} status="exception" />
    <ProgressLine percent={100} strokeWidth={5} />
  </div>
, mountNode);