import * as React from 'react';
import BranchingQuestions from "../branchingQuestions";
import HelpQuestions from "../helpQuestions";
import SettingsUpload from "./settingUpload";


interface Props {
    switchState: string,
}

export default function SwitchUpload({switchState = 'setting' }: Props) {

    switch (switchState) {
        case 'setting':
            return (<SettingsUpload/>);
            break;
        case 'help':
            return (<HelpQuestions/>);
            break
        case 'branching':
            return (<BranchingQuestions/>);
            break;
        default:
            return (<></>)
    }
}