code

useCount

Gets a count state and its increase, decrease, reset and step handlers, as well as its step's state.
Try increasing/decreasing count below, resetting it and setting its step.
Decrease/increase count
-1
0
+1
Decrease/increase count step and reset count
v
reset
^