({ currentStep }: { currentStep: number })
| 63 | }; |
| 64 | |
| 65 | const StepDots = ({ currentStep }: { currentStep: number }) => { |
| 66 | return ( |
| 67 | <div className="flex gap-1"> |
| 68 | {[1, 2, 3].map((step) => ( |
| 69 | <div |
| 70 | key={step} |
| 71 | className={`h-1.5 w-1.5 rounded-full transition-colors duration-300 ${ |
| 72 | step <= currentStep ? "bg-green-500" : "bg-green-200" |
| 73 | }`} |
| 74 | /> |
| 75 | ))} |
| 76 | </div> |
| 77 | ); |
| 78 | }; |
| 79 | |
| 80 | export default function Loading({ |
| 81 | status = "idle", |
nothing calls this directly
no outgoing calls
no test coverage detected