Timer de cubagem
import useKeyboardTimer from 'use-keyboard-timer';
const settings = {
timerInput: 'timer',
inspection: 'always',
timerUpdate: 'deciseconds',
timeToRelease: 'stackmat',
};
const { time, inspectionTime, state, isTiming, dnf, plusTwo } = useKeyboardTimer(settings);
return (
<div>
{`Time: ${time} \n State: ${state} \n Inspection: ${inspectionTime} \n DNF: ${dnf} \n Plus 2: ${plusTwo}`}
</div>
);
Obnoxious Otter