ant-design/components/progress/demo/line-mini.md
2015-07-30 18:42:11 +08:00

465 B

小型进度条

  • order: 2

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


var Progress = antd.Progress.Line;

React.render(
  <div style={{ width: 170 }}>
    <Progress percent="30" strokeWidth="5" />
    <Progress percent="50" strokeWidth="5" status="active" />
    <Progress percent="70" strokeWidth="5" status="exception" />
    <Progress percent="100" strokeWidth="5" />
  </div>
  , document.getElementById('components-progress-demo-line-mini'));