Skip to content

Commit

Permalink
[Grid] Missing slot (#36765)
Browse files Browse the repository at this point in the history
  • Loading branch information
siriwatknp committed Apr 3, 2023
1 parent efd33f0 commit 51884de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/mui-joy/src/Grid/Grid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { GridTypeMap } from './GridProps';
const Grid = createGrid({
createStyledComponent: styled('div', {
name: 'JoyGrid',
slot: 'Root',
overridesResolver: (props, styles) => styles.root,
}),
useThemeProps: (inProps) => useThemeProps({ props: inProps, name: 'JoyGrid' }),
Expand Down
1 change: 1 addition & 0 deletions packages/mui-material/src/Unstable_Grid2/Grid2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { Grid2TypeMap } from './Grid2Props';
const Grid2 = createGrid2({
createStyledComponent: styled('div', {
name: 'MuiGrid2',
slot: 'Root',
overridesResolver: (props, styles) => styles.root,
}),
componentName: 'MuiGrid2',
Expand Down

0 comments on commit 51884de

Please sign in to comment.