Native iOS respond – calculate the height for FlatList line components at runtime

I wanted to design a 4-line FlatList, with each line taking up a quarter of the height of the FlatList with a 5px space between the lines. As a native iOS developer, I am a little confused as to how this can be implemented in react-native's FlatList. I don't know at which stage of the rendering of the row component the calculation can be applied. Thank you in advance.

html – need help to make 2 iframes respond

So I'm a bit noob and I've put 2 iframes one below the other and they look pretty good (pic)This is how it looks without making the window smaller until I need it to respond when I make the window smaller. This is my code: `