1.0.2 • Published 1 year ago

counter-abuzar v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Introduction

Counter Is JavaScript Library For Counting

Installation

npm install counter-abuzar

Usage

import { useCounter } from "counter-abuzar"

Then

import { useCounter } from "counter-abuzar"
const App = () => {
  const {count,increment,decrement} = useCounter();
  return (
    <div>
      <button onClick={increment}>+</button>
      <h3>{count}</h3>
      <button onClick={decrement}>-</button>
    </div>
  )
}
export default App

Contribute

if you would like to contribute, you are welcome, Clone repo and open pull request.

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago