initial commit after split

This commit is contained in:
2026-06-24 01:43:10 +02:00
parent b1d6c0150f
commit 30c11a6dcf
173 changed files with 25380 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
import type { WizardStep } from "../types";
export default function Stepper({ steps, activeStep, onSelect }: { steps: WizardStep[]; activeStep: string; onSelect: (id: string) => void }) {
return (
<ol className="stepper">
{steps.map((step, index) => (
<li key={step.id} className={`step ${activeStep === step.id ? "active" : ""} step-${step.status || "todo"}`}>
<button onClick={() => onSelect(step.id)}>
<span className="step-number">{index + 1}</span>
<span>
<strong>{step.label}</strong>
{step.description && <small>{step.description}</small>}
</span>
</button>
</li>
))}
</ol>
);
}