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

jgibbons picture jgibbons  路  3Comments

VictorK1902 picture VictorK1902  路  3Comments

sreejithr picture sreejithr  路  3Comments

fgrs picture fgrs  路  3Comments

YouYII picture YouYII  路  3Comments