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