I am using material-ui grid in reactjs. In a column grid container, I want to use a grid item and I want to show another grid item. I want third item to use up the remaining grid space between the other 2 grid items. (i.e.) I want to show like
Grid Item 1
//remaining grid space
Grid Item 2
I have tried
<Grid container direction="column">
<Grid item xs={12}>
Grid Item 1
</Grid>
<Grid item xs={12} /> // this makes a space but not the entire space
<Grid item xs={12}>
Grid Item 2
</Grid>
how can I achieve this?