I can give the height element of style numeric values such as 40 but these are required to be integers. How can I make my component to have a height of 100%>
40
100%>
check out the flexbox doc. in the stylesheet, use:
flex:1,