get current screen name in stack.navigator componetn code example Example: get current screen name react navigation props.navigation.state.routeName