title: Disable TouchableOpacity button after oneClick in react-native?
body: <pre><code>export default decreasePrice extends React.Component {
      constructor(props) {
      super(props);
      this.state = {
      price : 50000
     }
   };
   _handlePrice = () =&gt; {
       this.setState({price : this.state.price - 2000});
   }
  render() { 
      return( &lt;div&gt;
          &lt;TouchableOpacity onPress={this._handlePrice} &gt;
              &lt;Text&gt; Offer for you &lt;/Text&gt;
          &lt;/TouchableOpacity&gt;
          )
   }}
  </code></pre>
  
  <p>So , what I want is, I want to disable my button after oneclick once price is decresed , so that user can not decrese price again and again. I want to disable the button after oneCLick.</p>