Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

23 Commits

Repository files navigation

react-counter

A dead-simple incremental counter component with easing animations.

npm install @beanloop-ab/react-counter
varReact=require('react');varCounter=require('react-counter');React.render(<Counterbegin={0}end={1000}time={2000}easing="outCube"/>,document.body);

Usage

<Counterbegin={Number}// The number to count fromend={Number}// The number to count totime={Number}// The time (in ms) the counting animation should takeeasing={String}// Which easing function to use (default="outCube")/>

The easing property, can be a name of any easing function from ease-component

About

Simple incremental counter with easings

Resources

Stars

0 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages