{"id":16454445,"url":"https://github.com/sarthakpranesh/react-native-tap","last_synced_at":"2026-05-08T05:12:57.284Z","repository":{"id":57340671,"uuid":"288692720","full_name":"sarthakpranesh/react-native-tap","owner":"sarthakpranesh","description":"Simple React Native components to implement custom and interesting multi-tap and long-press interactions.","archived":false,"fork":false,"pushed_at":"2020-08-20T19:47:17.000Z","size":407,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-05T18:46:31.427Z","etag":null,"topics":["component-library","longpress","multitap","react","react-native","tap"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sarthakpranesh.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-19T09:43:29.000Z","updated_at":"2020-08-20T20:01:06.000Z","dependencies_parsed_at":"2022-09-14T14:50:34.717Z","dependency_job_id":null,"html_url":"https://github.com/sarthakpranesh/react-native-tap","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sarthakpranesh/react-native-tap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarthakpranesh%2Freact-native-tap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarthakpranesh%2Freact-native-tap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarthakpranesh%2Freact-native-tap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarthakpranesh%2Freact-native-tap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sarthakpranesh","download_url":"https://codeload.github.com/sarthakpranesh/react-native-tap/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarthakpranesh%2Freact-native-tap/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263864915,"owners_count":23521888,"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":["component-library","longpress","multitap","react","react-native","tap"],"created_at":"2024-10-11T10:19:00.629Z","updated_at":"2026-05-08T05:12:56.587Z","avatar_url":"https://github.com/sarthakpranesh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm](https://img.shields.io/npm/v/react-native-tap)](https://www.npmjs.com/package/react-native-tap)\n[![npm](https://img.shields.io/npm/dw/react-native-tap)](https://www.npmjs.com/package/react-native-tap)\n[![GitHub stars](https://img.shields.io/github/stars/sarthakpranesh/react-native-tap?style=plastic)](https://github.com/sarthakpranesh/react-native-tap/stargazers)\n\n# react-native-tap\n\nSimple React Native components to implement custom and interesting multi tap and long press interactions.\n\n\u003cimg src=\"./ex.gif\" height=\"600\" /\u003e\n\n\u003cbr /\u003e\n\n## Installation\n\nUsing yarn:\n```bash\nyarn add react-native-tap\n```\n\nUsing npm:\n```\nnpm i react-native-tap\n```\n\nDependency: Make sure you have `react-native-gesture-handler` installed\n\n\u003cbr /\u003e\n\n## Usage\n\nUsing Bare multi tap component\n```js\nimport {MultiTap} from 'react-native-tap';\n```\n\nExample usage\n```\n\u003cMultiTap onSingleTap={() =\u003e console.log(\"Single tap\")} onDoubleTap={() =\u003e console.log(\"Double tap)}\u003e\n    \u003cView style={styles.box}\u003e\n        \u003cText\u003eTap Me!\u003c/Text\u003e\n    \u003c/View\u003e\n\u003c/MultiTap\u003e\n```\n\n\u003cbr /\u003e\n\n## Expo Example\nTheir is expo example present in the `example` directory for you to try out.\nInstructions, make sure `expo-cli` is installed\n1. `git clone https://github.com/sarthakpranesh/react-native-tap.git`\n2. `cd react-native-tap/example`\n3. `yarn install`\n4. `expo start` and scan the QR code from expo client mobile app\n\n\u003cbr /\u003e\n\n## Documentation\nMultiTap component\n\n|Name   |Description    |Default    |Type |\n|---    |---            |---        |---  |\n|onSingleTap    |Function called on a single tap on component    | () =\u003e {}    |Func   |\n|onDoubleTap    |Function called on a double tap on component    | () =\u003e {}    |Func   |\n\n\u003cbr /\u003e\n\n## Future Components\n\nThese components will be provided in future versions\n|Component Name |Description    |\n|---    |---    |\n|ReactiveIcon   |Will provide basic animated icons using Animated api in React Native. The component will implement both onSingleTap and onDoubleTap functionalities|\n\n\u003cbr /\u003e\n\n## Contributions\nFeel free to open GitHub issues for feature request, bugs or discussions, and Pull request are always Welcomed!\n\n\u003cbr /\u003e\n\n## License\n[MIT](https://github.com/sarthakpranesh/react-native-tap/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsarthakpranesh%2Freact-native-tap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsarthakpranesh%2Freact-native-tap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsarthakpranesh%2Freact-native-tap/lists"}