Skip to content

Commit

Permalink
[Grid2] Remove required item prop for size prop (#44027)
Browse files Browse the repository at this point in the history
  • Loading branch information
Janpot authored Oct 7, 2024
1 parent fee6fdd commit be78d87
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/mui-material/src/Grid2/Grid2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,6 @@ if (process.env.NODE_ENV !== 'production') {
// eslint-disable-next-line react/forbid-foreign-prop-types
...Component.propTypes,
direction: requireProp('container'),
size: requireProp('item'),
spacing: requireProp('container'),
wrap: requireProp('container'),
};
Expand Down

0 comments on commit be78d87

Please sign in to comment.