minwork / use-long-press

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

License:MIT License


Languages

Language:TypeScript 88.6%Language:JavaScript 11.4%