How do I center elements inside a MUI Grid item? Here is a snippet from my React application:
<Grid container>
<Grid item xs={4}>
// Unrelated stuff here
</Grid>
<Grid item xs={4}>
// How do I centre these items?
<IconButton className={classes.menuButton} color="inherit">
<EditIcon/>
</IconButton>
<IconButton className={classes.menuButton} color="inherit">
<CheckBoxIcon/>
</IconButton>
</Grid>
<Grid item xs={4}>
// Unrelated stuff here
</Grid>
</Grid>
I've tried applying alignContent, justify, alignItems (to the parent <Grid item>) with no success.
I thought this would be quite simple, but I've failed to find any information on centering items inside of grid items.