Files
imprink/ui/src/app/components/orderbuilder/StepperHeader.tsx
2025-06-29 21:58:37 +03:00

16 lines
388 B
TypeScript

'use client';
import { Stepper, Step, StepLabel } from '@mui/material';
export default function StepperHeader({ activeStep, steps }: { activeStep: number, steps: string[] }) {
return (
<Stepper activeStep={activeStep} sx={{ mb: 4 }}>
{steps.map((label) => (
<Step key={label}>
<StepLabel>{label}</StepLabel>
</Step>
))}
</Stepper>
);
}