How to pass values to other component in React-Native-Router-Flux?

后端 未结 5 1572
误落风尘
误落风尘 2020-12-08 06:44

My code is:

...

 


...
com1.js         


        
5条回答
  •  [愿得一人]
    2020-12-08 07:25

    Use push method as below:

    Actions.push('your key name',{prop you want to pass})
    

    It pushes the scene to the stack, performing a transition to the new scene.

提交回复
热议问题