diff --git a/src/App.tsx b/src/App.tsx index 60aa41a..e944b7c 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,8 +1,8 @@ import * as React from 'react'; +import { AppBar, Toolbar } from '@mui/material'; import Box from '@mui/material/Box'; import Button from '@mui/material/Button'; -import Divider from '@mui/material/Divider'; import Step from '@mui/material/Step'; import StepLabel from '@mui/material/StepLabel'; import Stepper from '@mui/material/Stepper'; @@ -78,8 +78,15 @@ export default function HorizontalLinearStepper() { }; return ( - - + + + + + G-Interface + + + + {steps.map((label, index) => { const stepProps: { completed?: boolean } = {}; const labelProps: { @@ -103,44 +110,47 @@ export default function HorizontalLinearStepper() { {renderSwitch(activeStep)} - - - {activeStep === steps.length ? ( - - - All steps completed - you're finished - - - - - - - ) : ( - - + + + {activeStep === steps.length ? ( + <> + + All steps completed - you're finished + + + + + ) : ( + <> - + {isStepOptional(activeStep) && ( - )} - - - - )} - + + )} + + ); }