OptionalinitialInitial value of the counter
OptionalminMinimum value the counter can reach
OptionalmaxMaximum value the counter can reach
OptionalstepStep size for increment and decrement
OptionalonCallback function that is called whenever the counter value changes
The new counter value
Options for configuring the useCounter hook