Browse Source

Fix progress demo

pull/10798/head
afc163 7 years ago
parent
commit
77ad1e457b
  1. 2
      components/progress/__tests__/__snapshots__/demo.test.js.snap
  2. 2
      components/progress/demo/line.md

2
components/progress/__tests__/__snapshots__/demo.test.js.snap

@ -513,7 +513,7 @@ exports[`renders ./components/progress/demo/line.md correctly 1`] = `
>
<div
class="ant-progress-bg"
style="width:30%;height:8px;background:red"
style="width:30%;height:8px"
/>
</div>
</div>

2
components/progress/demo/line.md

@ -18,7 +18,7 @@ import { Progress } from 'antd';
ReactDOM.render(
<div>
<Progress percent={30} strokeColor="red" />
<Progress percent={30} />
<Progress percent={50} status="active" />
<Progress percent={70} status="exception" />
<Progress percent={100} />

Loading…
Cancel
Save