A React hook for managing counters
npm install @chakra-ui/counterA React hook that provides simple and advance counter functionalities. Mostly
used to create numeric inputs and countdown timers.
``sh
yarn add @chakra-ui/counter
npm i @chakra-ui/counter
`
`js`
import { useCounter } from "@chakra-ui/counter"
`jsx
export function Example() {
const counter = useCounter({
max: 10,
min: 0,
step: 0.1,
})
return (
{counter.value}