Fix progress demo

This commit is contained in:
afc163 2018-06-06 17:40:47 +08:00
parent 8f449861cf
commit 77ad1e457b
2 changed files with 2 additions and 2 deletions

View File

@ -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>

View File

@ -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} />