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%>
const styles = StyleSheet.create({ container: { flex: 1 } })