Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react native navigation header Right

screenOptions={({route, navigation}) => ({ // transform screenOptions to a function
   headerRight: () => (
      <Button
        onPress={() => navigation.navigate('Home'); 
      />
    )
  })}
 
PREVIOUS NEXT
Tagged: #react #native #navigation #header #Right
ADD COMMENT
Topic
Name
9+5 =