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