That do to the height of the component was set depending on the contentin react native?

There are 2 standard components: a View and it Navigator. If you do not specify the height for the View that the Navigator is not displayed, if you set a height for the View then you can see the Navigator.
How to make that height the View was the same as in Navigator? Now it's as if Navigator is position: absolute.
Had in View to insert the Text component and everything works as expected - View becomes such a height as the content inside ie as Text. As for the Navigator to put the same?
July 4th 19 at 23:18
0 answer

Find more questions by tags React