From 93cbd77346182d1b264b9a7ec3a2e9c75b7f8998 Mon Sep 17 00:00:00 2001 From: MUI bot <2109932+Janpot@users.noreply.github.com> Date: Sun, 6 Oct 2024 16:56:27 +0200 Subject: [PATCH] [Grid2] Remove required `item` prop for `size` prop --- 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'), };