ant-design/components/progress/demo/line.md
2016-01-20 20:20:24 +08:00

407 B

进度条

  • order: 0

标准的进度条。


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);