navigation nested react native params 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' },
});