title: How to differentiate between double tap and single tap on react native?
body: <p>I need to perform different action on single and double tap on a view. On double tap I need to like the image just like Instagram double tap experience. On single tap I need to open a modal.
  For double tap I have used TapGestureHandler which works perfect</p>
  
  <pre><code> &lt;TapGestureHandler
            ref={this.doubleTapRef}
            maxDelayMs={200}
            onHandlerStateChange={this.onProductImageDoubleTap}
            numberOfTaps={2}
          &gt;
           &lt;SomeChildComponent ...
  </code></pre>
  
  <p>But when I add any Touchable to detect single tap in the 
  
  <pre><code> &lt;TouchableWithoutFeedback onPress={this.imageTapped}&gt;
  </code></pre>
  
  <p>on double tapping the <code>this.imageTapped</code> function is called twice along with <code>this.onProductImageDoubleTap</code>. Is there any way to cancel tap on touchable when two taps are done is quick succession</p>