react native react navigation get current rout by name code example Example: get current screen name react navigation props.navigation.state.routeName