From 794489edbd943f3e15e79f599a50b1e59e49128f Mon Sep 17 00:00:00 2001 From: illusionalsagacity Date: Thu, 6 Feb 2020 14:25:35 -0500 Subject: [PATCH] fix[MobileStepper]: ts types not aligning with prop-types --- packages/material-ui/src/MobileStepper/MobileStepper.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/material-ui/src/MobileStepper/MobileStepper.d.ts b/packages/material-ui/src/MobileStepper/MobileStepper.d.ts index 026d5307aa124d..fe9250a76480ca 100644 --- a/packages/material-ui/src/MobileStepper/MobileStepper.d.ts +++ b/packages/material-ui/src/MobileStepper/MobileStepper.d.ts @@ -6,9 +6,9 @@ import { LinearProgressProps } from '../LinearProgress'; export interface MobileStepperProps extends StandardProps { activeStep?: number; - backButton: React.ReactElement; + backButton: React.ReactNode; LinearProgressProps?: Partial; - nextButton: React.ReactElement; + nextButton: React.ReactNode; position?: 'bottom' | 'top' | 'static'; steps: number; variant?: 'text' | 'dots' | 'progress';