Explore Library
Code QuizIntermediate

Defining Screens with Stack.Screen

Spot the prop mistake that stops a screen from rendering.

Codejavascript
<Stack.Navigator>
  <Stack.Screen name="Home" component={<HomeScreen />} />
  <Stack.Screen name="Details" component={DetailsScreen} />
</Stack.Navigator>

What is the bug in this code?