- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 32.7k
Closed
Labels
component: GridThe React component.The React component.package: pigment-cssSpecific to Pigment CSS.Specific to Pigment CSS.
Description
Steps to reproduce
Hi everyone!
I’m following the documentation here: https://mui.com/material-ui/migration/migrating-to-pigment-css/#migrating-layout-components, and I’ve written this code:
// src/app/page.js
import Grid from '@mui/material-pigment-css/Grid';
export default function page() {
  return (
    <Grid container spacing={2}>
      <Grid>1</Grid>
      <Grid>2</Grid>
    </Grid>
  );
}The spacing is being converted to 2px. Is that how it’s supposed to work?
Current behavior
No response
Expected behavior
No response
Context
No response
Your environment
Libs:
"@mui/icons-material": "^6.1.2",
"@mui/material": "^6.1.2",
"@mui/material-pigment-css": "^6.1.2",
"@mui/system": "^6.1.2",
"@pigment-css/nextjs-plugin": "^0.0.24",
Search keywords: pigmentcss
Metadata
Metadata
Assignees
Labels
component: GridThe React component.The React component.package: pigment-cssSpecific to Pigment CSS.Specific to Pigment CSS.
Projects
Status
Done