fix: use MUI v9 slots API for StepLabel stepIcon
This commit is contained in:
@@ -43,7 +43,7 @@ export function HowToOrderSection() {
|
||||
<Stepper orientation="vertical" activeStep={-1}>
|
||||
{steps.map((step) => (
|
||||
<Step key={step.label} completed={false}>
|
||||
<StepLabel StepIconComponent={() => step.icon}>{step.label}</StepLabel>
|
||||
<StepLabel slots={{ stepIcon: () => step.icon }}>{step.label}</StepLabel>
|
||||
<StepContent>
|
||||
<Typography color="text.secondary">{step.text}</Typography>
|
||||
</StepContent>
|
||||
|
||||
Reference in New Issue
Block a user