Skip to content

Commit

Permalink
fix: correct step numbering
Browse files Browse the repository at this point in the history
  • Loading branch information
mvracar committed Nov 14, 2019
1 parent a304050 commit a674492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Stepper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const Stepper: React.FC<StepperProps> = ({
const generateStepProps = (index: number, activeStep: number) => {
return {
className: stepClassName,
children: index,
children: index + 1,
completed: index < activeStep,
active: index === activeStep,
styleConfig,
Expand Down

0 comments on commit a674492

Please sign in to comment.