Passing props from appnavigator

#1

Hi so after generating a react native expo app with the 3 default tabs, I’m trying to pass props down to one of the screens so I did

But in the screens, I cannot access this.props.sampleprop , and I didn’t see an obvious component spot to pass it down from appnavigator to the specific screen that i wanted to pass down to. How do I pass the prop to a particular screen through AppNavigator?

Thanls

1 Like
#2

Hey @iamsomeone,

I would recommend joining the React Navigation Discord: https://discordapp.com/invite/4xEK3nD and asking react-navigation specific questions there!

Cheers,

Adam

closed #3

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.