Skip to content

rc-component/progress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Progress

progress Component for react.

Build with webpack and CSS Modules

Story book

Install

npm install rc-nprogress -S

Usage

<Prgress percent={0.5} color="#333"/>

Props

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

License

MIT