use-counter-with-history
TypeScript icon, indicating that this package has built-in type declarations

0.0.0 • Public • Published

use-counter-with-history

How to use

import { useCounterWithHistory } from "use-counter-with-history";

function Component() {
  const [counter, setCounter, { history, forward, backward, go }] =
    useCounterWithHistory(0);
}

Readme

Keywords

none

Package Sidebar

Install

npm i use-counter-with-history

Weekly Downloads

0

Version

0.0.0

License

ISC

Unpacked Size

26.8 kB

Total Files

15

Last publish

Collaborators

  • ibrahimshamma99