The documentation of getScreenOptions needs some clarification:
- the headline is
getScreenOptions(navigation, screenProps) but the text explains 3 parameters. What is about navigationOptions?
- The text says "retrieve the navigation options for a screen". Why the function is named screen options while it returns navigation options?
- The example code uses
addNavigationHelpers which does not exits anymore?
- For me is not clear where I can use this function, p.ex. in screen, in my custom router, etc. Please improve the example to make this more clear.