title: React Native Elements ButtonGroup - Enable button when conditions are met
body: <p>I am using <code>react-native-elements</code> ButtonGroup with 3 buttons. I need to disable all buttons when the application starts, when conditions are met, I need to enable specific buttons. </p>
  
  <p>Ive disabled all buttons using the false flag but I'm not sure how to enable specific buttons with a conditional statement and state.</p>
  
  <p>Any help would be appreciated. </p>
  
  <pre class="lang-js prettyprint-override"><code>&lt;ButtonGroup
    onPress={this.updateIndex}
    selectedIndex={selectedIndex}
    buttons={buttons}
    containerStyle={{ height: 100 }}
    //disabled={[0, 1, 2]}
    disabled={true}
  /&gt;
  
  ADD_DETAILS(index) {
    if (index === 0) {
      console.log("clicked 0");
      this.requestDetails();
    }
  }
  </code></pre>