Skip to content

Commit

Permalink
feat(StepsStep): add wrapper to step index
Browse files Browse the repository at this point in the history
Добавил обертку для порядкового номера шага.
  • Loading branch information
belk1ng committed Nov 15, 2024
1 parent 88c9a63 commit a4bac35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Steps/StepsStep/StepsStep.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export const StepsStep = React.forwardRef<HTMLButtonElement, Props>(
{completed ? (
<IconCheck className={cnStepsStep('Icon')} size={iconSize} />
) : (
step
<span className={cnStepsStep('Index')}>{step}</span>
)}
<span>{label}</span>
</button>
Expand Down

0 comments on commit a4bac35

Please sign in to comment.