Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kitze/react-long
A LongPress component for React
https://github.com/kitze/react-long
Last synced: about 2 months ago
JSON representation
A LongPress component for React
- Host: GitHub
- URL: https://github.com/kitze/react-long
- Owner: kitze
- Created: 2018-02-10T17:23:31.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T17:25:50.000Z (almost 2 years ago)
- Last Synced: 2024-06-14T12:48:01.566Z (3 months ago)
- Language: JavaScript
- Size: 1.13 MB
- Stars: 87
- Watchers: 6
- Forks: 9
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
### 🙋♂️ Made by [@thekitze](https://twitter.com/thekitze)
### Other projects:
- 🏫 [React Academy](https://reactacademy.io) - Interactive React and GraphQL workshops
- 💌 [Twizzy](https://twizzy.app) - A standalone app for Twitter DM
- 💻 [Sizzy](https://sizzy.co) - A tool for testing responsive design on multiple devices at once
- 🤖 [JSUI](https://github.com/kitze/JSUI) - A powerful UI toolkit for managing JavaScript apps---
# react-long
Warning: works only on devices that support touch.# Demo
[http://react-long.surge.sh](http://react-long.surge.sh)
# Example
```js
alert('pressed for 1s')}
onPress={() => alert('pressed')}
>
Hello world
```