code refactor
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
import React from 'react';
|
||||
import { Box, Stepper, Step, StepLabel } from '@mui/material';
|
||||
|
||||
const steps = ['Upload', 'Preview', 'Process', ,'Results'];
|
||||
|
||||
function StepperComponent({ activeStep }) {
|
||||
type StepperComponentProps = {
|
||||
activeStep: number;
|
||||
};
|
||||
|
||||
function StepperComponent({ activeStep }: StepperComponentProps) {
|
||||
return (
|
||||
<Box sx={{ width: '100%', mb: 4 }}>
|
||||
<Stepper activeStep={activeStep} alternativeLabel>
|
||||
|
||||
Reference in New Issue
Block a user