Skip to content

Commit a7365e6

Browse files
committed
Grid2 fix
Signed-off-by: Lee Calcote <lee.calcote@layer5.io>
1 parent d8e005d commit a7365e6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/base/Grid2/Grid2.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
import MuiGrid, { Grid2Props as MuiGridProps } from '@mui/material/Grid2';
21
import React from 'react';
2+
import MuiGrid from '@mui/material/Grid';
3+
import type { GridProps as MuiGridProps } from '@mui/material/Grid';
34

4-
const Grid2 = React.forwardRef<HTMLDivElement, GridProps>((props, ref) => {
5-
return <Grid {...props} ref={ref} />;
5+
const Grid2 = React.forwardRef<HTMLDivElement, MuiGridProps>((props, ref) => {
6+
return <MuiGrid {...props} ref={ref} />;
67
});
78

89
export { Grid2 };

0 commit comments

Comments
 (0)