diff --git a/packages/mui-material/src/OverridableComponent.d.ts b/packages/mui-material/src/OverridableComponent.d.ts index 210fe98c7b43d3..143a9c534b033c 100644 --- a/packages/mui-material/src/OverridableComponent.d.ts +++ b/packages/mui-material/src/OverridableComponent.d.ts @@ -21,7 +21,7 @@ export interface OverridableComponent { component: C; } & OverrideProps, ): JSX.Element | null; - (props: DefaultComponentProps): JSX.Element; + (props: DefaultComponentProps): JSX.Element | null; } /** diff --git a/packages/mui-types/index.d.ts b/packages/mui-types/index.d.ts index 02e469dfcc26af..159d5ff5839e00 100644 --- a/packages/mui-types/index.d.ts +++ b/packages/mui-types/index.d.ts @@ -105,7 +105,7 @@ export interface OverridableComponent { component: C; } & OverrideProps, ): JSX.Element | null; - (props: DefaultComponentProps): JSX.Element; + (props: DefaultComponentProps): JSX.Element | null; propTypes?: any; }