Skip to content

Commit be78d87

Browse files
authoredOct 7, 2024··
[Grid2] Remove required item prop for size prop (#44027)
1 parent fee6fdd commit be78d87

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed
 

‎packages/mui-material/src/Grid2/Grid2.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,6 @@ if (process.env.NODE_ENV !== 'production') {
270270
// eslint-disable-next-line react/forbid-foreign-prop-types
271271
...Component.propTypes,
272272
direction: requireProp('container'),
273-
size: requireProp('item'),
274273
spacing: requireProp('container'),
275274
wrap: requireProp('container'),
276275
};

0 commit comments

Comments
 (0)
Please sign in to comment.