import React from 'react'; import {makeStyles} from '@material-ui/core/styles'; import Typography from '@material-ui/core/Typography'; import Box from '@material-ui/core/Box'; import Paper from '@material-ui/core/Paper'; import Stepper from '@material-ui/core/Stepper'; import Step from '@material-ui/core/Step'; import StepLabel from '@material-ui/core/StepLabel'; import ExchangeSessionForm from "../../components/ExchangeSessionForm"; import ExchangeSessionReview from "../../components/ExchangeSessionReview"; import ExchangeSessionTest from "../../components/ExchangeSessionTest"; import PlainLayout from '../../layouts/PlainLayout'; const useStyles = makeStyles((theme) => ({ paper: { padding: theme.spacing(2), }, })); const steps = ['Add Exchange Session', 'Review Settings', 'Test Connection']; function getStepContent(step) { switch (step) { case 0: return ; case 1: return ; case 2: return ; default: throw new Error('Unknown step'); } } export default function SetupSession() { const classes = useStyles(); const [activeStep, setActiveStep] = React.useState(0); return ( Setup Session {steps.map((label) => ( {label} ))} {getStepContent(activeStep)} ); }