React Navigation pass params to nested stackNavigator
To access props of the parent you can use this.props.navigation.dangerouslyGetParent().getParam('type');
now you can access any prop of the parent.
EDIT:
Not sure if this will work with react-navigation v5 but give it a try