MCPcopy Create free account
hub / github.com/DavidHDev/react-bits / handleNext

Function handleNext

src/content/Components/Stepper/Stepper.jsx:46–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44 };
45
46 const handleNext = () => {
47 if (!isLastStep) {
48 setDirection(1);
49 updateStep(currentStep + 1);
50 }
51 };
52
53 const handleComplete = () => {
54 setDirection(1);

Callers

nothing calls this directly

Calls 1

updateStepFunction · 0.70

Tested by

no test coverage detected