0.1.8 ā€¢ Published 5 months ago

pure_counter v0.1.8

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

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

PropTypeDescription
startnumberThe starting value
endnumberThe ending value
durationnumberDuration in seconds
classNamestringCSS class name

PureDecrement

PropTypeDescription
startnumberThe starting value
endnumberThe ending value
durationnumberDuration in seconds
classNamestringCSS 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.

0.1.8

5 months ago

0.1.7

10 months ago

0.1.6

10 months ago

0.1.5

10 months ago

0.1.4

10 months ago

0.1.3

10 months ago

0.1.2

10 months ago

0.1.1

10 months ago

0.1.0

10 months ago