react navigation screen name from state code example Example: get current screen name react navigation props.navigation.state.routeName