platform-bible-react
    Preparing search index...

    Interface WizardStepperProps

    Props for the WizardStepper component.

    interface WizardStepperProps {
        completedSteps?: number[];
        currentStep: number;
        locale?: string;
        totalSteps: number;
    }
    Index

    Properties

    completedSteps?: number[]

    1-based indices of the steps to show as complete. When omitted, every step before currentStep is complete. Pass it when completion does not follow position — e.g. a wizard the user can step back through, where later steps may already be done. The active step always shows as active.

    currentStep: number

    1-based index of the currently active step.

    locale?: string

    BCP 47 locale tag for numeral formatting in the circle labels. E.g. 'ar' → ١٢٣٤. Defaults to 'en'; an empty string also falls back to 'en' (Intl.NumberFormat('') throws a RangeError in V8).

    totalSteps: number

    Total number of numbered steps.