From be78d8700d0f2ce3cc5b403714756bc025402389 Mon Sep 17 00:00:00 2001 From: Jan Potoms <2109932+Janpot@users.noreply.github.com> Date: Mon, 7 Oct 2024 09:20:03 +0200 Subject: [PATCH] [Grid2] Remove required `item` prop for `size` prop (#44027) --- packages/mui-material/src/Grid2/Grid2.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/mui-material/src/Grid2/Grid2.tsx b/packages/mui-material/src/Grid2/Grid2.tsx index bd822ca4521616..49d3b12257ad43 100644 --- a/packages/mui-material/src/Grid2/Grid2.tsx +++ b/packages/mui-material/src/Grid2/Grid2.tsx @@ -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'), };