react native navigating to a screen in other stack.navigator code example
Example: navigation in react native
import { useNavigation } from '@react-navigation/native';
const navigation = useNavigation();
navigation.navigate('WallScreen')
import { useNavigation } from '@react-navigation/native';
const navigation = useNavigation();
navigation.navigate('WallScreen')