set-my-counter
v1.0.6
Published
A simple, reusable counter component built with **React** and **TypeScript**.
Readme
React Counter Component
A simple, reusable counter component built with React and TypeScript.
Features:
- Displays a dynamic counter value.
- Provides "Increment" and "Decrement" buttons to adjust the count.
- Lightweight and easy to integrate into your projects.
- Written in TypeScript for type safety and better development experience.
Installation:
npm install set-my-counterUsage:
import React from 'react';
import Counter from 'set-my-counter';
const App = () => (
<div>
<h2>Counter Example</h2>
<Counter />
</div>
);
export default App;
