diff --git a/packages/mui-material/src/Grid/Grid.d.ts b/packages/mui-material/src/Grid/Grid.d.ts index 2a879e908f17f7..68cecc6fa738a9 100644 --- a/packages/mui-material/src/Grid/Grid.d.ts +++ b/packages/mui-material/src/Grid/Grid.d.ts @@ -149,6 +149,9 @@ export interface GridOwnProps extends SystemProps, Breakpoints { zeroMinWidth?: boolean; } +/** + * @deprecated Use the [`Grid2`](https://mui.com/material-ui/react-grid2/) component instead. + */ export interface GridTypeMap< AdditionalProps = {}, RootComponent extends React.ElementType = 'div', @@ -171,6 +174,9 @@ export interface GridTypeMap< */ declare const Grid: OverridableComponent; +/** + * @deprecated Use the [`Grid2`](https://mui.com/material-ui/react-grid2/) component instead. + */ export type GridProps< RootComponent extends React.ElementType = GridTypeMap['defaultComponent'], AdditionalProps = {}, diff --git a/packages/mui-material/src/index.d.ts b/packages/mui-material/src/index.d.ts index 9cf5f13269daf0..d9b5350ad98c77 100644 --- a/packages/mui-material/src/index.d.ts +++ b/packages/mui-material/src/index.d.ts @@ -204,6 +204,7 @@ export { default as FormLabel } from './FormLabel'; export * from './FormLabel'; export { default as Grid } from './Grid'; +export { GridProps, GridTypeMap } from './Grid'; export { default as Grid2 } from './Grid2'; export * from './Grid2';