{"id":20646196,"url":"https://github.com/spacesuitdiver/react-native-zoomable","last_synced_at":"2025-04-16T02:39:16.534Z","repository":{"id":78847990,"uuid":"91399714","full_name":"spacesuitdiver/react-native-zoomable","owner":"spacesuitdiver","description":"React Native component for pinch and double/single tap to zoom, most likely used to preview images but can be used to wrap anything.","archived":false,"fork":false,"pushed_at":"2017-10-03T23:01:23.000Z","size":2236,"stargazers_count":27,"open_issues_count":3,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-22T20:16:51.360Z","etag":null,"topics":["react-native"],"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/spacesuitdiver.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,"governance":null}},"created_at":"2017-05-16T01:18:19.000Z","updated_at":"2024-05-18T01:45:37.000Z","dependencies_parsed_at":"2023-07-21T21:30:41.590Z","dependency_job_id":null,"html_url":"https://github.com/spacesuitdiver/react-native-zoomable","commit_stats":null,"previous_names":["leblaaanc/react-native-zoomable"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacesuitdiver%2Freact-native-zoomable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacesuitdiver%2Freact-native-zoomable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacesuitdiver%2Freact-native-zoomable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacesuitdiver%2Freact-native-zoomable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spacesuitdiver","download_url":"https://codeload.github.com/spacesuitdiver/react-native-zoomable/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249185215,"owners_count":21226533,"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":["react-native"],"created_at":"2024-11-16T16:24:44.287Z","updated_at":"2025-04-16T02:39:16.511Z","avatar_url":"https://github.com/spacesuitdiver.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-zoomable\n\nReact Native component for pinch and double/single tap to zoom, most likely used to preview images but can be used to wrap anything.\n\n![Preview](https://raw.githubusercontent.com/LeBlaaanc/react-native-zoomable/master/preview.gif)\n\n## Usage\n\n```javascript\nimport Zoomable from 'react-native-zoomable';\n```\n\n```javascript\n\u003cZoomable\n  zoomScale={3}\n  onScrollOrZoom={(e) =\u003e alert('did that thing!')}\n  tapToZoomOut=\"double\"\n\u003e\n  \u003cImage source={{ uri }} style={{ width: 50, height: 50 }} /\u003e\n\u003c/Zoomable\u003e\n```\n\n## Properties\n| Property | Type | Description |\n|-----------------|----------|--------------------------------------------------------------|\n| onScrollOrZoom | function | called when scrolled or zoomed, sent an event as a param |\n| zoomScale | number | zoom scale. (default: 4) |\n| zoomInTrigger | string | can be 'singletap' or 'doubletap'. (default: 'doubletap') |\n| zoomOutTrigger | string | can be 'singletap' or 'doubletap'. (default: 'singletap') |\n\n## Copyright\nCopyright (c) 2017 Chris LeBlanc. Licensed under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspacesuitdiver%2Freact-native-zoomable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspacesuitdiver%2Freact-native-zoomable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspacesuitdiver%2Freact-native-zoomable/lists"}