# Introduction

[![codecov](https://codecov.io/gh/minwork/react/branch/main/graph/badge.svg?token=2KPMMSLDOM)](https://codecov.io/gh/minwork/react) ![npm type definitions](https://img.shields.io/npm/types/use-double-tap) ![npm bundle size](https://img.shields.io/bundlephobia/min/use-double-tap) ![npm](https://img.shields.io/npm/v/use-double-tap) ![GitHub](https://img.shields.io/github/license/minwork/react)

<figure><img src="https://2002432855-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0avzZjk4yREihcTvF3Jc%2Fuploads%2FtaXFK1huGMZRE0xpY5ZU%2FReact%20Double%20Tap%20Hook.webp?alt=media&#x26;token=8366ff66-8b96-4362-bec9-105fda885eaa" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
React hook for handling double tap on mobile devices
{% endhint %}

## Main features

* Detect double tap on mobile devices
* Adjustable detection threshold
* Callback for single tap
