There's mention of the property navigationOptions in this page here:
https://facebook.github.io/react-native/docs/navigation.html
I can't seem to find the full list of properties that navigationOptions is supposed to take? Where do I get this information?
navigationOptions - The default or previous options that would be used if new values are not provided.
Stack Navigator provides a way for your app to transition between screens where each new screen is placed on top of a stack. By default the stack navigator is configured to have the familiar iOS and Android look & feel: new screens slide in from the right on iOS, use OS default animation on Android.
Here are some options:
title
header
headerTitle
headerBackTitle
headerTruncatedBackTitle
headerRight
headerLeft
headerStyle
headerTitleStyle
headerBackTitleStyle
headerTintColor
headerPressColorAndroid
gesturesEnabled
You can find more details all options and props in the following doc:
This link is no longer in use.
https://reactnavigation.org/docs/navigators/stack#Screen-Navigation-Options
Instead of that You can use Below link for the answer.
navigationoptions-used-by-stacknavigator
Hope it helps
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With