Preparing search index...
    type WizardContextProps<N = string> = {
        currentStep: N;
        getNextStep: () => N | null;
        getPrevStep: () => N | null;
        moveNextStep: () => void;
        movePrevStep: () => void;
        moveToStep: (step: N) => void;
        onSubmit: () => void;
        steps: WizardStep<N>[];
        stepsSchema?: StringKeyMap<WizardStepSchema>;
    }

    Type Parameters

    • N = string
    Index

    Properties

    currentStep: N
    getNextStep: () => N | null
    getPrevStep: () => N | null
    moveNextStep: () => void
    movePrevStep: () => void
    moveToStep: (step: N) => void
    onSubmit: () => void
    steps: WizardStep<N>[]