We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8e005d commit a7365e6Copy full SHA for a7365e6
src/base/Grid2/Grid2.tsx
@@ -1,8 +1,9 @@
1
-import MuiGrid, { Grid2Props as MuiGridProps } from '@mui/material/Grid2';
2
import React from 'react';
+import MuiGrid from '@mui/material/Grid';
3
+import type { GridProps as MuiGridProps } from '@mui/material/Grid';
4
-const Grid2 = React.forwardRef<HTMLDivElement, GridProps>((props, ref) => {
5
- return <Grid {...props} ref={ref} />;
+const Grid2 = React.forwardRef<HTMLDivElement, MuiGridProps>((props, ref) => {
6
+ return <MuiGrid {...props} ref={ref} />;
7
});
8
9
export { Grid2 };
0 commit comments