passing params to nested navigators react navigation code example
Example: react native passing params to nested navigators
navigation.navigate('Account', {
screen: 'Settings',
params: { user: 'jane' },
});
navigation.navigate('Account', {
screen: 'Settings',
params: { user: 'jane' },
});