# rc-progress
Progress Bar.
[![NPM version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]
[![Test coverage][coveralls-image]][coveralls-url]
[![gemnasium deps][gemnasium-image]][gemnasium-url]
[![node version][node-image]][node-url]
[![npm download][download-image]][download-url]
[npm-image]: http://img.shields.io/npm/v/rc-progress.svg?style=flat-square
[npm-url]: http://npmjs.org/package/rc-progress
[travis-image]: https://img.shields.io/travis/react-component/progress.svg?style=flat-square
[travis-url]: https://travis-ci.org/react-component/progress
[coveralls-image]: https://img.shields.io/coveralls/react-component/progress.svg?style=flat-square
[coveralls-url]: https://coveralls.io/r/react-component/progress?branch=master
[gemnasium-image]: http://img.shields.io/gemnasium/react-component/progress.svg?style=flat-square
[gemnasium-url]: https://gemnasium.com/react-component/progress
[node-image]: https://img.shields.io/badge/node.js-%3E=_0.10-green.svg?style=flat-square
[node-url]: http://nodejs.org/download/
[download-image]: https://img.shields.io/npm/dm/rc-progress.svg?style=flat-square
[download-url]: https://npmjs.org/package/rc-progress
## Example
http://react-component.github.io/progress/
## Screenshots
## Browsers
* support IE9+, Chrome, Firefox, Safari
## Install
[](https://npmjs.org/package/rc-progress)
## Usage
```jsx
import { Line, Circle } from 'rc-progress';
ReactDOM.render(
name | type | default | description |
---|---|---|---|
strokeWidth | Number | 1 | Width of the stroke. Unit is percentage of SVG canvas size. |
strokeColor | String | #2db7f5 | Stroke color. |
trailWidth | Number | 1 | Width of the trail stroke. Unit is percentage of SVG canvas size. Trail is always centered relative to actual progress path. If trailWidth are not defined, it same as strokeWidth. |
trailColor | String | #D9D9D9 | Color for lighter trail stroke underneath the actual progress path. |
strokeLinecap | String | 'round' | The shape to be used at the end of the progress bar, can be `butt`, `square` or `round`. |
prefixCls | String | rc-progress | prefix className for component |
className | String | customized className | |
style | Object | style object will be added to svg element | |
percent | Number | 0 | the percent of the progress |
gapDegree | Number | 0 | the gap degree of half circle, 0 - 360 |
gapPosition | String | top | the gap position, value: top, bottom, left, right. |