I have two grid items that I want to make the same height by trying to use flex, however nothing seems to work. I believe I might now be using the Grid element in Material UI correctly. I have tried using the height and width properties as well.
<Paper elevation={10} style={{padding:'1.5em'}}>
<Grid container direction='row' spacing={2} style={{display:'flex'}}>
<Grid item style={{height:'100%', width:'50%'}}>
</Grid>
<Grid item style={{height:'100%', width:'50%'}}>
</Grid>
</Grid>
</Paper>