get routeName in parent file react navigat code example Example: get current screen name react navigation props.navigation.state.routeName