Skip to content

Commit 794489e

Browse files
fix[MobileStepper]: ts types not aligning with prop-types
1 parent 3764e63 commit 794489e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/material-ui/src/MobileStepper/MobileStepper.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import { LinearProgressProps } from '../LinearProgress';
66
export interface MobileStepperProps
77
extends StandardProps<PaperProps, MobileStepperClassKey, 'variant'> {
88
activeStep?: number;
9-
backButton: React.ReactElement;
9+
backButton: React.ReactNode;
1010
LinearProgressProps?: Partial<LinearProgressProps>;
11-
nextButton: React.ReactElement;
11+
nextButton: React.ReactNode;
1212
position?: 'bottom' | 'top' | 'static';
1313
steps: number;
1414
variant?: 'text' | 'dots' | 'progress';

0 commit comments

Comments
 (0)