Skip to content

pure_counter is a collection of React components for implementing pure increment and decrement functionality. It provides customizable components that smoothly animate numerical values within a given range. With easy installation and usage, it offers a simple way to incorporate increment and decrement features into your React applications.

License

Yacoubou-seidou/PureCounter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pure_counter

Version License

pure_counter is a collection of React components for implementing pure increment and decrement functionality. It provides customizable components that smoothly animate numerical values within a given range. With easy installation and usage, it offers a simple way to incorporate increment and decrement features into your React applications.

Installation

You can install the package via npm:

npm install pure_counter

Usage

import { PureIncrement, PureDecrement } from 'pure_counter';

// Example usage of PureIncrement
<PureIncrement start={0} end={10} duration={1} className="purecounter" />

// Example usage of PureDecrement
<PureDecrement start={10} end={0} duration={1} className="purecounter" />

Props

PureIncrement

Prop Type Description
start number The starting value
end number The ending value
duration number Duration in seconds
className string CSS class name

PureDecrement

Prop Type Description
start number The starting value
end number The ending value
duration number Duration in seconds
className string CSS class name

👥 Authors

👤 Yacoubou Seidou

👤 Mahamadou Nouridine

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

License

This project is MIT licensed.

About

pure_counter is a collection of React components for implementing pure increment and decrement functionality. It provides customizable components that smoothly animate numerical values within a given range. With easy installation and usage, it offers a simple way to incorporate increment and decrement features into your React applications.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published