This package provides a simple interface for incrementing and decrementing a value through button clicks.
To install the package, run the following command:
npm i pack-to-ck
Import the useCounter component into your project:
import {useCounter} from 'pack-to-ck';
- Increment: Click the ‘+’ button to increase the number by 1.
- Decrement: Click the ‘-’ button to decrease the number by 1.