React Navigation , Can't get it to work


Here is my sketch and that is how I am trying it, but it doesn’t seems to work. NavBar never show up.

The code is very much copied from which seems like it should work but not sure what I am missing.



I’m not very familiar with react-navigation, but it looks like the navigator maybe needs to be the root component? This seems to work fine


Don’t wrap the Navigator in a view or anything else, that should be serving as the root of your app, not a View wrapped around it…

Like this:

You could also do it like this :