renderTokens() {
    if (!this.state.selectedItems.length > 0) {
      return null
    }
    return (
      <ul className={this.props.tokenListClassName}>
        {this.state.selectedItems.map(this.renderToken.bind(this))}
      </ul>
    )
  }
// Renders a list only if it has items
Renders a list only if it has items
Renders a list only if it has items
renderTokens() {
    if (!this.state.selectedItems.length > 0) {
      return null
    }
    return (
      <ul className={this.props.tokenListClassName}>
        {this.state.selectedItems.map(this.renderToken.bind(this))}
      </ul>
    )
  }
renderTokens ( ) { if ( ! this . state . selectedItems . length > 0 ) { return null } return ( < ul className = { this . props . tokenListClassName } > { this . state . selectedItems . map ( this . renderToken . bind ( this ) ) } < / ul > ) }
Renders a list only if it has items
Renders a list only if it has items