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}>
|
<Stepper orientation="vertical" activeStep={-1}>
|
||||||
{steps.map((step) => (
|
{steps.map((step) => (
|
||||||
<Step key={step.label} completed={false}>
|
<Step key={step.label} completed={false}>
|
||||||
<StepLabel StepIconComponent={() => step.icon}>{step.label}</StepLabel>
|
<StepLabel slots={{ stepIcon: () => step.icon }}>{step.label}</StepLabel>
|
||||||
<StepContent>
|
<StepContent>
|
||||||
<Typography color="text.secondary">{step.text}</Typography>
|
<Typography color="text.secondary">{step.text}</Typography>
|
||||||
</StepContent>
|
</StepContent>
|
||||||
|
|||||||
Reference in New Issue
Block a user