Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DavidHDev/react-bits
/ handleBack
Function
handleBack
src/tailwind/Components/Stepper/Stepper.jsx:34–39 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
32
};
33
34
const handleBack = () => {
35
if (currentStep > 1) {
36
setDirection(-1);
37
updateStep(currentStep - 1);
38
}
39
};
40
41
const handleNext = () => {
42
if (!isLastStep) {
Callers
nothing calls this directly
Calls
1
updateStep
Function · 0.70
Tested by
no test coverage detected