Skip to main content
Logo Appt Light

Screen title on React Native

Each screen should have a descriptive title, which helps users with identifying the screen.

In React Native, we recommend using React Navigation with an appropriate title on each screen.

function StackScreen() {
  return (
    <Stack.Navigator>
      <Stack.Screen
        name="Home"
        component={HomeScreen}
        options={{ title: 'Appt homescreen' }}
      />
    </Stack.Navigator>
  );
}

Feedback?

Let us know!