Answers for "get screen name from which app is returning react native"

1

how to get current screen name in react native

import {useRoute} from '@react-navigation/native';

const route = useRoute();
console.log(route.name);
Posted by: Guest on June-25-2021

Code answers related to "get screen name from which app is returning react native"

Code answers related to "Javascript"

Browse Popular Code Answers by Language