ant-design/components/progress/demo/circle.md

28 lines
508 B
Markdown
Raw Normal View History

2015-06-14 20:07:21 +08:00
# Circle 用法
- order: 0
Progress Circle用法
---
````jsx
var Circle = antd.Progress.Circle;
React.render(
<div>
2015-06-15 11:00:27 +08:00
<Circle percent="30" width="100" strokeWidth="4" />
<Circle percent="70" width="100" strokeWidth="4" status="exception" />
<Circle percent="100" width="100" strokeWidth="4" />
2015-06-14 20:07:21 +08:00
</div>
, document.getElementById('components-progress-demo-circle'));
````
2015-06-15 11:00:27 +08:00
<style>
.ant-progress-circle-wrap,
.ant-progress-line-wrap {
margin-right: 15px;
margin-bottom: 15px;
}
</style>