selectDestination(item) {
    const { onSelect } = this.props;
    onSelect(item);
    this.setState({
      destinations: [],
      destinationInputValue: item.label,
    });
  }
/**
   * Selection is selected by click or key event.
   * @private
   */
Selection is selected by click or key event.
@private
Selection is selected by click or key event . @private
selectDestination(item) {
    const { onSelect } = this.props;
    onSelect(item);
    this.setState({
      destinations: [],
      destinationInputValue: item.label,
    });
  }
selectDestination ( item ) { const { onSelect } = this . props ; onSelect ( item ) ; this . setState ( { destinations : [ ] , destinationInputValue : item . label , } ) ; }
Selection is selected by click or key event.
Selection is selected by click or key event .