react navigation Passing params to double nested navigators 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' },
});