{"id":20643495,"url":"https://github.com/st0ffern/react-native-grid-view","last_synced_at":"2025-10-08T03:48:48.351Z","repository":{"id":57337366,"uuid":"63469891","full_name":"st0ffern/react-native-grid-view","owner":"st0ffern","description":"React Native`s ListView but with grid setup.","archived":false,"fork":false,"pushed_at":"2016-07-16T14:03:43.000Z","size":17,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-09T11:34:57.972Z","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/st0ffern.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-16T06:53:51.000Z","updated_at":"2016-11-14T07:46:14.000Z","dependencies_parsed_at":"2022-09-12T13:21:36.929Z","dependency_job_id":null,"html_url":"https://github.com/st0ffern/react-native-grid-view","commit_stats":null,"previous_names":["stoffern/react-native-grid-view"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/st0ffern/react-native-grid-view","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/st0ffern%2Freact-native-grid-view","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/st0ffern%2Freact-native-grid-view/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/st0ffern%2Freact-native-grid-view/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/st0ffern%2Freact-native-grid-view/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/st0ffern","download_url":"https://codeload.github.com/st0ffern/react-native-grid-view/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/st0ffern%2Freact-native-grid-view/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278886411,"owners_count":26062975,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-16T16:12:58.790Z","updated_at":"2025-10-08T03:48:48.321Z","avatar_url":"https://github.com/st0ffern.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-grid-view\nReact Native`s ListView but with grid setup.\n\n## Props\n\n- `renderItem`: **required ** content to render items\n- `dataSource`: **required ** an array of items that should be listed, standard dataSource format.\n- `imagesPerRow`: optional input to set the amout of items pr row (Default: 3)\n- `imageMargin`: optional input to set margins in the view  (Default: 5)\n- `backgroundColor`: optional input to set background color (Default: black)\n\n## Usage Examples\n\n```js\nvar GridView = require(\"react-native-gridview\");\n// or\nimport GridView from \"react-native-gridview\"\n```\n\n```javascript\nrender(){\n  return(\n    \u003cGridView\n      renderItem={data =\u003e this.renderItem(data)}\n      dataSource=[1,2,3,4,5]\n      imagesPerRow={4}\n      imageMargin={5}\n      backgroundColor=\"white\"\n    /\u003e\n  )\n}\nrenderItem(data){\n  return(\n    \u003cView onPress={console.log('clicked')}\u003e\n      \u003cText\u003e{data}\u003c/Text\u003e\n    \u003c/View\u003e\n  )\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fst0ffern%2Freact-native-grid-view","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fst0ffern%2Freact-native-grid-view","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fst0ffern%2Freact-native-grid-view/lists"}