Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react native updating options with setoptions

/* Inside of render() of React class */
<Button
  title="Update the title"
  onPress={() => navigation.setOptions({ title: 'Updated!' })}
/>
Source by reactnavigation.org #
 
PREVIOUS NEXT
Tagged: #react #native #updating #options #setoptions
ADD COMMENT
Topic
Name
5+8 =