From 9b865e522348a426a23178f5fe013dd78fcbbc6f Mon Sep 17 00:00:00 2001 From: Harry Digos Date: Tue, 13 Feb 2024 21:35:51 +0200 Subject: [PATCH] feat: add types for stepLabel icon component props --- packages/mui-material/src/StepLabel/StepLabel.d.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/mui-material/src/StepLabel/StepLabel.d.ts b/packages/mui-material/src/StepLabel/StepLabel.d.ts index 025f890be54297..cb82552706d785 100644 --- a/packages/mui-material/src/StepLabel/StepLabel.d.ts +++ b/packages/mui-material/src/StepLabel/StepLabel.d.ts @@ -5,6 +5,13 @@ import { StepIconProps } from '../StepIcon'; import { Theme } from '../styles'; import { StepLabelClasses } from './stepLabelClasses'; +export interface StepLabelIconComponentProps { + active: boolean; + completed: boolean; + error: boolean; + icon: number; +} + export interface StepLabelProps extends StandardProps> { /** * In most cases will simply be a string containing a title for the label. @@ -52,7 +59,7 @@ export interface StepLabelProps extends StandardProps; /** * Props applied to the [`StepIcon`](/material-ui/api/step-icon/) element. */