MCPcopy Create free account
hub / github.com/SyntaxUI/syntaxui / handlePrev

Function handlePrev

src/showcase/components/stepper/DottedStepper.tsx:119–121  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

117 }
118
119 const handlePrev = () => {
120 setCurrentStep((prev) => Math.max(prev - 1, 0))
121 }
122
123 return (
124 <div className="mx-auto w-full max-w-2xl p-6">

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected