diff --git a/docs/pages/api-docs/grid.md b/docs/pages/api-docs/grid.md
index 6e9af5bc970f55..d17010b26b3bce 100644
--- a/docs/pages/api-docs/grid.md
+++ b/docs/pages/api-docs/grid.md
@@ -36,7 +36,8 @@ The `MuiGrid` name can be used for providing [default props](/customization/glob
| container | bool | false | If `true`, the component will have the flex *container* behavior. You should be wrapping *items* with a *container*. |
| direction | 'row' | 'row-reverse' | 'column' | 'column-reverse' | 'row' | Defines the `flex-direction` style property. It is applied for all screen sizes. |
| item | bool | false | If `true`, the component will have the flex *item* behavior. You should be wrapping *items* with a *container*. |
-| justify | 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly' | 'flex-start' | Defines the `justify-content` style property. It is applied for all screen sizes. |
+| ~~justify~~ | oneOf(['center' | | *Deprecated*. Use `justifyContent` instead, the prop was renamed.
Defines the `justify-content` style property. It is applied for all screen sizes. |
+| justifyContent | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly' | 'flex-start' | Defines the `justify-content` style property. It is applied for all screen sizes. |
| lg | false | 'auto' | true | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | false | Defines the number of grids the component is going to use. It's applied for the `lg` breakpoint and wider screens if not overridden. |
| md | false | 'auto' | true | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | false | Defines the number of grids the component is going to use. It's applied for the `md` breakpoint and wider screens if not overridden. |
| sm | false | 'auto' | true | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | false | Defines the number of grids the component is going to use. It's applied for the `sm` breakpoint and wider screens if not overridden. |
@@ -72,11 +73,11 @@ Any other props supplied will be provided to the root element (native element).
| align-content-xs-flex-end | .MuiGrid-align-content-xs-flex-end |
| align-content-xs-space-between | .MuiGrid-align-content-xs-space-between |
| align-content-xs-space-around | .MuiGrid-align-content-xs-space-around |
-| justify-xs-center | .MuiGrid-justify-xs-center |
-| justify-xs-flex-end | .MuiGrid-justify-xs-flex-end |
-| justify-xs-space-between | .MuiGrid-justify-xs-space-between |
-| justify-xs-space-around | .MuiGrid-justify-xs-space-around |
-| justify-xs-space-evenly | .MuiGrid-justify-xs-space-evenly |
+| justify-content-xs-center | .MuiGrid-justify-content-xs-center |
+| justify-content-xs-flex-end | .MuiGrid-justify-content-xs-flex-end |
+| justify-content-xs-space-between | .MuiGrid-justify-content-xs-space-between |
+| justify-content-xs-space-around | .MuiGrid-justify-content-xs-space-around |
+| justify-content-xs-space-evenly | .MuiGrid-justify-content-xs-space-evenly |
| spacing-xs-1 | .MuiGrid-spacing-xs-1 |
| spacing-xs-2 | .MuiGrid-spacing-xs-2 |
| spacing-xs-3 | .MuiGrid-spacing-xs-3 |
diff --git a/docs/src/pages/components/chips/ChipsPlayground.js b/docs/src/pages/components/chips/ChipsPlayground.js
index 41b68a821491b3..d7f6ba1d11a0cd 100644
--- a/docs/src/pages/components/chips/ChipsPlayground.js
+++ b/docs/src/pages/components/chips/ChipsPlayground.js
@@ -104,7 +104,7 @@ function ChipsPlayground(props) {
return (
-
+ ({
export default function InteractiveGrid() {
const classes = useStyles();
const [direction, setDirection] = React.useState('row');
- const [justify, setJustify] = React.useState('center');
+ const [justifyContent, setJustifyContent] = React.useState('center');
const [alignItems, setAlignItems] = React.useState('center');
const jsx = `
`;
@@ -50,7 +50,7 @@ export default function InteractiveGrid() {
className={classes.demo}
alignItems={alignItems}
direction={direction}
- justify={justify}
+ justifyContent={justifyContent}
>
{[0, 1, 2].map((value) => (
@@ -92,14 +92,14 @@ export default function InteractiveGrid() {
- justify
+ justifyContent {
- setJustify(event.target.value);
+ setJustifyContent(event.target.value);
}}
>
} label="flex-start" />
diff --git a/docs/src/pages/components/grid/InteractiveGrid.tsx b/docs/src/pages/components/grid/InteractiveGrid.tsx
index 581450ae276e9c..2627857228f873 100644
--- a/docs/src/pages/components/grid/InteractiveGrid.tsx
+++ b/docs/src/pages/components/grid/InteractiveGrid.tsx
@@ -31,14 +31,14 @@ const useStyles = makeStyles((theme: Theme) =>
export default function InteractiveGrid() {
const classes = useStyles();
const [direction, setDirection] = React.useState('row');
- const [justify, setJustify] = React.useState('center');
+ const [justifyContent, setJustifyContent] = React.useState('center');
const [alignItems, setAlignItems] = React.useState('center');
const jsx = `
`;
@@ -52,7 +52,7 @@ export default function InteractiveGrid() {
className={classes.demo}
alignItems={alignItems}
direction={direction}
- justify={justify}
+ justifyContent={justifyContent}
>
{[0, 1, 2].map((value) => (
@@ -94,14 +94,16 @@ export default function InteractiveGrid() {
- justify
+ justifyContent {
- setJustify((event.target as HTMLInputElement).value as GridJustification);
+ setJustifyContent(
+ (event.target as HTMLInputElement).value as GridJustification,
+ );
}}
>
} label="flex-start" />
diff --git a/docs/src/pages/components/grid/SpacingGrid.js b/docs/src/pages/components/grid/SpacingGrid.js
index 1198a4d237f187..6b29a64f73a473 100644
--- a/docs/src/pages/components/grid/SpacingGrid.js
+++ b/docs/src/pages/components/grid/SpacingGrid.js
@@ -31,7 +31,7 @@ export default function SpacingGrid() {
return (
-
+
{[0, 1, 2].map((value) => (
diff --git a/docs/src/pages/components/grid/SpacingGrid.tsx b/docs/src/pages/components/grid/SpacingGrid.tsx
index 1f1de7a2eb8a64..5fb118256d6d34 100644
--- a/docs/src/pages/components/grid/SpacingGrid.tsx
+++ b/docs/src/pages/components/grid/SpacingGrid.tsx
@@ -33,7 +33,7 @@ export default function SpacingGrid() {
return (
-
+
{[0, 1, 2].map((value) => (
diff --git a/docs/src/pages/components/material-icons/SearchIcons.js b/docs/src/pages/components/material-icons/SearchIcons.js
index e473b95a4ef36f..ae336dc1ab6eb5 100644
--- a/docs/src/pages/components/material-icons/SearchIcons.js
+++ b/docs/src/pages/components/material-icons/SearchIcons.js
@@ -221,12 +221,12 @@ let DialogDetails = (props) => {
-
+
-
+
@@ -243,13 +243,12 @@ let DialogDetails = (props) => {
-
-
+
-
+
@@ -257,7 +256,7 @@ let DialogDetails = (props) => {
className={clsx(classes.context, classes.contextTextPrimaryInverse)}
/>
-
+
diff --git a/docs/src/pages/components/pickers/MaterialUIPickers.js b/docs/src/pages/components/pickers/MaterialUIPickers.js
index 68cadce376d04f..71ede1168166a3 100644
--- a/docs/src/pages/components/pickers/MaterialUIPickers.js
+++ b/docs/src/pages/components/pickers/MaterialUIPickers.js
@@ -18,7 +18,7 @@ export default function MaterialUIPickers() {
return (
-
+
-
+
-
+