Related page
https://mui.com/material-ui/migration/upgrade-to-v9/#system-props, https://mui.com/material-ui/api/box/, https://mui.com/material-ui/api/grid/
Kind of issue
Unclear explanations
Issue description
If I understand https://mui.com/material-ui/migration/upgrade-to-v9/#system-props correctly, the removal of system props means that code like <Box display="flex" gap={1}> and <Grid container alignItems="flex-start" spacing={1}>. Instead, I should write <Grid container sx={{alignItems: 'flex-start'}} spacing={1}>
If I understand the following paragraph from https://mui.com/material-ui/api/grid/ and https://mui.com/material-ui/api/grid/ correctly:
As a CSS utility, the Grid component also supports all system properties. You can use them as props directly on the component.
then code like <Grid container alignItems="flex-start" spacing={1}> does work (or ought to work).
Stack and Typography have similar text.
Context
No response
Search keywords: system props
Related page
https://mui.com/material-ui/migration/upgrade-to-v9/#system-props, https://mui.com/material-ui/api/box/, https://mui.com/material-ui/api/grid/
Kind of issue
Unclear explanations
Issue description
If I understand https://mui.com/material-ui/migration/upgrade-to-v9/#system-props correctly, the removal of system props means that code like
<Box display="flex" gap={1}>and<Grid container alignItems="flex-start" spacing={1}>. Instead, I should write<Grid container sx={{alignItems: 'flex-start'}} spacing={1}>If I understand the following paragraph from https://mui.com/material-ui/api/grid/ and https://mui.com/material-ui/api/grid/ correctly:
then code like
<Grid container alignItems="flex-start" spacing={1}>does work (or ought to work).Stack and Typography have similar text.
Context
No response
Search keywords: system props