This repository contains a simple React counter component. The counter allows users to increment and decrement a numerical value by clicking the "+" and "-" buttons. It demonstrates the use of React hooks for state management and custom button components for handling click events.
- Increment and decrement functionality
- State management using React's useState hook
- Modular button component
- Clone the repository:
https://github.com/mohitjaiswal28/React-Counter
- Navigate to the project directory:
cd React-Counter
- Install the dependencies:
npm install
- Run the development server:
npm start
Simply click the "+" button to increase the count and the "-" button to decrease the count.