Skip to main content
Version: 6.x

Screen

Screen components are used to configure various aspects of screens inside a navigator.

A Screen is returned from a createXNavigator function:

const Stack = createNativeStackNavigator(); // Stack contains Screen & Navigator properties

After creating the navigator, it can be used as children of the Navigator component:

<Stack.Navigator>
<Stack.Screen