progress Component for react.
Build with webpack and CSS Modules
npm install rc-nprogress -S
<Prgress percent={0.5} color="#333"/>
name | type | default | description |
---|---|---|---|
percent | number | null | Set progress percent, if >=1, hide progress |
color | string | '#29d' | Set background color and boxShadow color |
inc | number | 0 | Increase percent per second, should be 0 - 1 |
MIT