title: React-Native - How to create a disabled style for the TouchableOpacity component?
body: <p>How do I apply disabled style for a TouchableOpacity component?</p>
  
  <pre><code>&lt;TouchableOpacity 
    style={styles.buttonWrapper } 
    onPress={this.userLogin.bind(this)}
    disabled={ !this.state.username || !this.state.password }
  &gt;
    &lt;Text style={styles.buttonText}&gt;Login&lt;/Text&gt;
  &lt;/TouchableOpacity&gt;
  </code></pre>