{"id":13630453,"url":"https://github.com/kitze/react-long","last_synced_at":"2025-06-26T07:04:35.216Z","repository":{"id":37692810,"uuid":"121036692","full_name":"kitze/react-long","owner":"kitze","description":"A LongPress component for React","archived":false,"fork":false,"pushed_at":"2022-12-07T17:25:50.000Z","size":1188,"stargazers_count":87,"open_issues_count":17,"forks_count":9,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-13T13:12:22.393Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kitze.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-10T17:23:31.000Z","updated_at":"2024-11-04T16:58:38.000Z","dependencies_parsed_at":"2023-01-23T18:30:40.273Z","dependency_job_id":null,"html_url":"https://github.com/kitze/react-long","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/kitze/react-long","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitze%2Freact-long","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitze%2Freact-long/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitze%2Freact-long/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitze%2Freact-long/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kitze","download_url":"https://codeload.github.com/kitze/react-long/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitze%2Freact-long/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262018759,"owners_count":23245619,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T22:01:43.578Z","updated_at":"2025-06-26T07:04:35.191Z","avatar_url":"https://github.com/kitze.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","Libraries"],"sub_categories":["React"],"readme":"### 🙋‍♂️ Made by [@thekitze](https://twitter.com/thekitze)  \n\n### Other projects:\n- 🏫 [React Academy](https://reactacademy.io) - Interactive React and GraphQL workshops\n- 💌 [Twizzy](https://twizzy.app) - A standalone app for Twitter DM\n- 💻 [Sizzy](https://sizzy.co) - A tool for testing responsive design on multiple devices at once\n- 🤖 [JSUI](https://github.com/kitze/JSUI) - A powerful UI toolkit for managing JavaScript apps\n\n---\n\n# react-long\nWarning: works only on devices that support touch.\n\n# Demo\n\n[http://react-long.surge.sh](http://react-long.surge.sh)\n\n# Example\n\n```js\n\u003cdiv\u003e\n  \u003cLongPress\n    time={1000}\n    onLongPress={() =\u003e alert('pressed for 1s')}\n    onPress={() =\u003e alert('pressed')}\n  \u003e\n    \u003cdiv\u003e\n      Hello world\n    \u003c/div\u003e\n  \u003c/LongPress\u003e\n\u003c/div\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkitze%2Freact-long","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkitze%2Freact-long","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkitze%2Freact-long/lists"}