1.0.8 • Published 4 years ago

react-number-counter v1.0.8

Weekly downloads
66
License
ISC
Repository
-
Last release
4 years ago

#react-number-counter a simple react counter which increments a number or decrements it

center

Quick start

###Installation : npm install react-number-counter ###Import : import Counter from 'react-number-counter' ##Examples 1. <Counter start={0} end={100} delay={10} />

2. <Counter start={100} end={0} delay={10} />

3. <Counter start={0} end={60} delay={1000} repeat />

The Counter component just returns a number without html element .

##Props

NameDescriptionDefault
startthe start of the counter0
endthe end of the counter60
delaydelay in milliseconds1000
repeatcounter loopfalse
1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago