-
+ {customNavigationSide ? (
+ smallContainer ? null : (
+
{customNavigationSide}
+ )
+ ) : (
+
+ )}
;
activeStepIndex: number;
showCollapsedSteps: boolean;
+ customCollapsedSteps?: React.ReactNode;
i18nStrings: WizardProps.I18nStrings;
submitButtonText?: string;
isPrimaryLoading: boolean;
@@ -76,6 +77,7 @@ function WizardForm({
steps,
activeStepIndex,
showCollapsedSteps,
+ customCollapsedSteps,
i18nStrings,
submitButtonText,
isPrimaryLoading,
@@ -128,9 +130,15 @@ function WizardForm({
return (
<>
-
- {i18nStrings.collapsedStepsLabel?.(activeStepIndex + 1, steps.length)}
-
+ {customCollapsedSteps ? (
+ showCollapsedSteps ? (
+ {customCollapsedSteps}
+ ) : null
+ ) : (
+
+ {i18nStrings.collapsedStepsLabel?.(activeStepIndex + 1, steps.length)}
+
+ )}