0.1.0 • Published 2 years ago
test-ecubi-package-10 v0.1.0
Test package useCount
Example
import { useCount } from 'test-ecubi-package-10'
const {count, increment, decrement} = useCount(0);
return (
<div>
<h1>{count}</h1>
<button onClick={increment}> +1 </button>
<button onClick={decrement}> -1 </button>
</div>
);
0.1.0
2 years ago