title: React Native Radio button with multiple props
body: <p>I am trying to pass a 3rd variable/prop through to my onselect so that I can display the name of the element which has been selected along with the value, and index. the problem is I keep getting undefined for desc</p>
  
  <pre><code>_onSelect (index, value, desc) {
      console.log(`Item: ${desc}, index: ${index} , value: ${value}`)
      this.cartFirebase.update(
        {
          index: index,
          price: value
        }
      )
    }
  
    render () {
      return (
        &lt;RadioGroup
          onSelect={(index, value, desc) =&gt; this._onSelect(index, value, desc)}
          color='#009688'
          highlightColor='#fff'
        &gt;
          {(this.props.item || []).map((section, i) =&gt; (
            &lt;RadioButton value={section.price} desc={section.description} key={i} style={styles.row}&gt;
              &lt;Text style={styles.title}&gt;{section.description}&lt;/Text&gt;
              &lt;Text style={styles.price}&gt;{Settings.priceToPriceWithCurrency(section.price)}&lt;/Text&gt;
            &lt;/RadioButton&gt;
          ))}
        &lt;/RadioGroup&gt;
      )
    }
  }
  </code></pre>