# 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="/files/F3Qpe5ZIoBfmHt4wpH2h" 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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://minwork.gitbook.io/double-tap-hook/introduction.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
