Skip to content
This repository has been archived by the owner on Aug 20, 2023. It is now read-only.
/ use-long-press Public archive

React hook for detecting click (or tap) and hold event

License

Notifications You must be signed in to change notification settings

minwork/use-long-press

Repository files navigation

React Long Press Hook 👇

React hook for detecting click (or tap) and hold event.

Build Status Codecov npm type definitions npm bundle size npm Github Stars

  • Easy to use
  • Highly customizable options
  • Thoroughly tested

⚠️ New repository

This package has been moved to Minwork's React Libraries which is a common place for different react hooks and components.

🎉 Version 3 is now available!

Version 1 and 2 is now deprecated (explanation).

Use yarn add use-long-press@latest or npm install --save use-long-press@latest to install it.