send params in nested screen code example
Example: send params in nested screen
navigation.navigate('Root', {
screen: 'Settings',
params: { user: 'jane' },
});
navigation.navigate('Root', {
screen: 'Settings',
params: { user: 'jane' },
});