"use client"; import { CSSProperties } from "react"; type WizardStep = "details" | "booking" | "confirmation"; interface StepIndicatorProps { currentStep: WizardStep; } const styles: Record = { stepIndicator: { display: "flex", alignItems: "center", justifyContent: "center", gap: "1rem", marginBottom: "2rem", }, step: { display: "flex", alignItems: "center", gap: "0.5rem", opacity: 0.4, }, stepActive: { opacity: 1, }, stepCompleted: { opacity: 0.7, }, stepNumber: { fontFamily: "'DM Mono', monospace", width: "28px", height: "28px", borderRadius: "50%", background: "rgba(255, 255, 255, 0.1)", display: "flex", alignItems: "center", justifyContent: "center", fontSize: "0.875rem", fontWeight: 600, color: "#fff", }, stepLabel: { fontFamily: "'DM Sans', system-ui, sans-serif", fontSize: "0.875rem", color: "#fff", }, stepDivider: { width: "40px", height: "1px", background: "rgba(255, 255, 255, 0.2)", }, }; /** * Component that displays the wizard step indicator. * Shows which step the user is currently on and which steps are completed. */ export function StepIndicator({ currentStep }: StepIndicatorProps) { return (
1 Exchange Details
2 Book Appointment
3 Confirm
); }