Browse Source

update element tagName

pull/26/head
afc163 10 years ago
parent
commit
f5835eec78
  1. 8
      components/progress/demo/circle-mini.md
  2. 8
      components/progress/demo/circle.md
  3. 4
      components/progress/demo/dynamic.md
  4. 8
      components/progress/demo/line-mini.md
  5. 8
      components/progress/demo/line.md

8
components/progress/demo/circle-mini.md

@ -7,13 +7,13 @@
---
````jsx
var Circle = antd.Progress.Circle;
var ProgressCircle = antd.Progress.Circle;
React.render(
<div>
<Circle percent="30" width="80" />
<Circle percent="70" width="80" status="exception" />
<Circle percent="100" width="80" />
<ProgressCircle percent="30" width="80" />
<ProgressCircle percent="70" width="80" status="exception" />
<ProgressCircle percent="100" width="80" />
</div>
, document.getElementById('components-progress-demo-circle-mini'));
````

8
components/progress/demo/circle.md

@ -7,13 +7,13 @@
---
````jsx
var Circle = antd.Progress.Circle;
var ProgressCircle = antd.Progress.Circle;
React.render(
<div>
<Circle percent="30" width="126" />
<Circle percent="70" width="126" status="exception" />
<Circle percent="100" width="126" />
<ProgressCircle percent="30" width="126" />
<ProgressCircle percent="70" width="126" status="exception" />
<ProgressCircle percent="100" width="126" />
</div>
, document.getElementById('components-progress-demo-circle'));
````

4
components/progress/demo/dynamic.md

@ -7,7 +7,7 @@
---
````jsx
var Line = antd.Progress.Line;
var Progress = antd.Progress.Line;
var MyProgress = React.createClass({
getInitialState() {
@ -27,7 +27,7 @@ var MyProgress = React.createClass({
}, 100);
},
render() {
return <Line percent={this.state.percent} width="300" strokeWidth="3" />;
return <Progress percent={this.state.percent} width="300" strokeWidth="3" />;
}
});

8
components/progress/demo/line-mini.md

@ -7,13 +7,13 @@
---
````jsx
var Line = antd.Progress.Line;
var Progress = antd.Progress.Line;
React.render(
<div>
<Line percent="30" width="170" strokeWidth="3" />
<Line percent="70" width="170" strokeWidth="3" status="exception" />
<Line percent="100" width="170" strokeWidth="3" />
<Progress percent="30" width="170" strokeWidth="3" />
<Progress percent="70" width="170" strokeWidth="3" status="exception" />
<Progress percent="100" width="170" strokeWidth="3" />
</div>
, document.getElementById('components-progress-demo-line-mini'));
````

8
components/progress/demo/line.md

@ -7,13 +7,13 @@
---
````jsx
var Line = antd.Progress.Line;
var Progress = antd.Progress.Line;
React.render(
<div>
<Line percent="30" width="300" strokeWidth="3" />
<Line percent="70" width="300" strokeWidth="3" status="exception" />
<Line percent="100" width="300" strokeWidth="3" />
<Progress percent="30" width="300" strokeWidth="3" />
<Progress percent="70" width="300" strokeWidth="3" status="exception" />
<Progress percent="100" width="300" strokeWidth="3" />
</div>
, document.getElementById('components-progress-demo-line'));
````

Loading…
Cancel
Save