import * as React from 'react';
import UploadImage from "./UploadImage";
import HelpAnswerOptions from "./helpAnswerOptions";
import ResponseSettings from "./responseSettings";


interface Props {
    switchState: string,
}

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

    switch (switchState) {
        case 'setting':
            return (<ResponseSettings/>);
            break;
        case 'help':
            return (<HelpAnswerOptions/>);
            break
        case 'branching':
            return (<></>);
            break;
        case 'image':
            return (<UploadImage/>);
            break;
        default:
            return (<></>)
    }
}