1

I'm trying to pass props into a custom top bar title component. The below code works fine on iOS however the props don't get passed into the title component on Android.

Am I missing something here? It seems to be related to this issue. https://github.com/wix/react-native-navigation/issues/3498

Navigation.showModal({
stack: {
  children: [{
    component: {
      name: 'screenName',
      options: {
        topBar: {
          title: {
            component: {
              passProps: {
                title: 'title',
              }
            },
          },
        }
      }
    }
  }]
}

});

https://github.com/wix/react-native-navigation/issues/3498

Brandon Schlenker
  • 5,078
  • 1
  • 36
  • 58

1 Answers1

1

This was just fixed, published in 2.0.2466

guy.gc
  • 3,359
  • 2
  • 24
  • 39
  • 1
    It would be beneficial to add a snippet or code that fixes the issue, since the links might change and reference wouldn't be available. – Pritish Vaidya Aug 10 '18 at 14:34