React native, I'm not able to navigate between screens

107 views Asked by At

I am following the react navigation documentation. I did all the installations. I'm using react native expo in the latest version (0.63). When I create a screen or create a function from within app.tsx, I have the following problem.

enter image description here

1

There are 1 answers

1
FredAstaire On BEST ANSWER

As described here, you can do the following:

...
function HomeScreen({ navigation }: { navigation: any} {
...