I am trying to place a vertical <divider> within a grid as a but it is not showing. When I remove it and do not put it within a <Grid Item> it shows but I believe is not the correct way. What is missing here:
<Grid container justifyContent="space-between" spacing={1}>
<Grid item>
<Grid container alignItems="center" spacing={2}>
<Grid item>
Something
</Grid>
<Grid item >
<Divider orientation="vertical" variant="middle" flexItem />
</Grid>
<Grid item>
Something else
</Grid>
</Grid>
</Grid>
</Grid>