import * as React from 'react';
import StepOne from "./stepOne";
import Steptwo from "./steptwo";
import StartPageSettings from "./StartPageSettings";

interface Props {
    activeStep: number,
    handleNext: () => void
}

export default function SwitchStepPages({activeStep = 1, handleNext }: Props) {

    switch (activeStep) {
        case 0:
            return (<StepOne handleNext={handleNext}/>);
            break;
        case 1:
            return (<Steptwo handleNext={handleNext}/>);
            break
        case 2:
            return (<StartPageSettings/>);
            break;
        default:
            return (<></>)
    }
}