I am using react-navigation and I have a TabNavigator nested inside another TabNavigator. As I defined the class Variable navigationOptions in the ReviewScreen and added the right property in the header, I ended up with an Invariant Voliation error . However, from all the documentations I have read about react-navigation, it seems the my navigationOptions is done the appropriate way.I am using react-navigation and I have a TabNav