diff --git a/packages/showcase/src/sections/navigation.tsx b/packages/showcase/src/sections/navigation.tsx index 6fd9bcd..8ff34a3 100644 --- a/packages/showcase/src/sections/navigation.tsx +++ b/packages/showcase/src/sections/navigation.tsx @@ -131,33 +131,29 @@ function NavigationMenuDemo() { return content; } -/** Wizard step indicators helper for the wizard demo. */ -function WizardSteps() { - const content = ( - - - {(label, i) => ( - - - {i() + 1} - - {label} - - )} - - - ); - return content; -} +const wizardSteps = ["Details", "Review", "Confirm"]; /** Wizard demo with 3-step flow. */ function WizardDemo() { const content = ( - - Step 1: Enter your details here. - Step 2: Review your information. - Step 3: Confirm and submit. + + + {(label, i) => ( + +
+ + {i() + 1} + + {label} +
+ + Step {i() + 1}: {label} + +
+ )} +
+
Previous Next