React-native-router-flux: V4 : How to pass props to custom navBar using Action ?

Created on 19 Jul 2017  路  3Comments  路  Source: aksonov/react-native-router-flux

Hello,

Actions.profil({
  viewMode: 'full',
  pseudo: profil.pseudo,
})

In my custom navBar I don't get pseudo or viewMode as props. If I set a props to the scene I got it in the navBar.
How to get props set with Action parameters in custom navBar ?

Most helpful comment

@sylvainbaronnet Please check latest master

All 3 comments

I found that I can access them with Actions.currentParams

@sylvainbaronnet Please check latest master

Yes it now works as expected, thanks a lot !

Was this page helpful?
0 / 5 - 0 ratings

Related issues

basdvries picture basdvries  路  3Comments

rafaelcorreiapoli picture rafaelcorreiapoli  路  3Comments

jgibbons picture jgibbons  路  3Comments

wootwoot1234 picture wootwoot1234  路  3Comments

booboothefool picture booboothefool  路  3Comments