{"id":18538978,"url":"https://github.com/ramotion/react-native-expanding-collection","last_synced_at":"2026-03-17T15:45:32.758Z","repository":{"id":151262516,"uuid":"114131735","full_name":"Ramotion/react-native-expanding-collection","owner":"Ramotion","description":null,"archived":false,"fork":false,"pushed_at":"2019-11-02T08:26:55.000Z","size":143,"stargazers_count":37,"open_issues_count":4,"forks_count":10,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-06-04T05:09:32.343Z","etag":null,"topics":["javascript","react-native"],"latest_commit_sha":null,"homepage":null,"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/Ramotion.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-13T14:36:36.000Z","updated_at":"2024-04-02T17:40:52.000Z","dependencies_parsed_at":"2023-04-20T01:30:49.968Z","dependency_job_id":null,"html_url":"https://github.com/Ramotion/react-native-expanding-collection","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Ramotion/react-native-expanding-collection","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ramotion%2Freact-native-expanding-collection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ramotion%2Freact-native-expanding-collection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ramotion%2Freact-native-expanding-collection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ramotion%2Freact-native-expanding-collection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ramotion","download_url":"https://codeload.github.com/Ramotion/react-native-expanding-collection/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ramotion%2Freact-native-expanding-collection/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30626843,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-17T14:16:03.965Z","status":"ssl_error","status_checked_at":"2026-03-17T14:16:03.380Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["javascript","react-native"],"created_at":"2024-11-06T19:45:43.579Z","updated_at":"2026-03-17T15:45:32.742Z","avatar_url":"https://github.com/Ramotion.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Native Expanding Collection\n\n## Installation\n\n`npm install --save @ramotion/react-native-expanding-collection`\n\n## Usage\n\nLook it in folder `./example`\n\n```javascript\nimport React, { Component } from 'react';\nimport ExpandingCollection from '@ramotion/react-native-expanding-collection';\n\nclass Example extends Component {\n    items = [\n      {\n        id: '654831654',\n        name: 'New York',\n        img: 'https://media-cdn.tripadvisor.com/media/photo-s/0e/9a/e3/1d/freedom-tower.jpg',\n        blob: 'New York is a beautiful',\n        rating: 4,\n        reviews: [\n          {\n            userName: 'Ebbe Ugwu',\n            userAvatar: 'https://randomuser.me/api/portraits/men/83.jpg',\n            review: 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis...',\n            date: 'FEB 14th',\n          }, {\n            userName: 'Jakob Merquier',\n            userAvatar: 'https://randomuser.me/api/portraits/men/46.jpg',\n            review: ' aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.',\n            date: 'JUL 8th'\n          },\n        ],\n        coordinates: [40.785091, 'North', -73.968285, 'West']\n      },\n      {\n       id: '32164893',\n        name: 'London',\n        img: 'https://i.ytimg.com/vi/7BymziTFM2E/maxresdefault.jpg',\n        blob: 'The buzzing heart of Great Britain',\n        rating: 5,\n        reviews: [\n          {\n            userName: 'Monique Shultz',\n            userAvatar: 'https://randomuser.me/api/portraits/women/6.jpg',\n            review: 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis...',\n            date: 'APR 15th'\n          }\n        ],\n        coordinates: [51.509865, 'North', -0.118092, 'West']\n      }\n    ];\n    \n    render() {\n    \treturn (\n        \u003cExpandingCollection\n          data={this.items}\n        /\u003e\n      );\n    }\n}\n\n\n```\n\n## Props\n| Name | Description | Type | Required | Default Value |\n| :--- | :----- | :--- | :---: | :---: |\n| data | Information about cards | Array | + |  |\n| frontCardColor | Color for front card | String |   | '#fffeff' |\n| backCardColor | Color for back card | String |   | '#fffeff' |\n| paginationColor | Color for pagination card | String |   | '#cbd2db' |\n| cardBorder | Card border prop | Number |   | 8 |\n| cardPadding | Card padding prop | Number |   | 4 |\n| renderFrontCard | Render front card | Component |   |  |\n| renderBackCard | Render back card | Component |   |  |\n| headerCloseIconUrl | Close icon Url for header | String |   | 'https://www.materialui.co/materialIcons/navigation/close_black_2048x2048.png' |\n| headerDefaultIconUrl | Default icon Url for header | String |   | 'https://cdn2.iconfinder.com/data/icons/lightly-icons/30/crosshairs-480.png' |\n\n## Licence\n\nExpanding is released under the MIT license.\nSee [LICENSE](./LICENSE) for details.\n\u003cbr\u003e\n\n# Get the Showroom App for iOS to give it a try\nTry this UI component and more like this in our mobile app. Contact us if interested.\n\n\u003ca href=\"https://play.google.com/store/apps/details?id=com.ramotion.showroom\" \u003e\n\u003cimg src=\"https://raw.githubusercontent.com/Ramotion/react-native-circle-menu/master/google_play@2x.png\" width=\"104\" height=\"34\"\u003e\u003c/a\u003e\n\u003ca href=\"https://itunes.apple.com/app/apple-store/id1182360240?pt=550053\u0026ct=react-native-circle-menu\u0026mt=8\" \u003e\n\u003cimg src=\"https://github.com/ramotion/gliding-collection/raw/master/app_store@2x.png\" width=\"117\" height=\"34\"\u003e\u003c/a\u003e\n\u003ca href=\"https://www.ramotion.com/agency/app-development?utm_source=gthb\u0026utm_medium=repo\u0026utm_campaign=react-native-expanding-collection\"\u003e\n\u003cimg src=\"https://github.com/ramotion/gliding-collection/raw/master/contact_our_team@2x.png\" width=\"187\" height=\"34\"\u003e\u003c/a\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\nFollow us for the latest updates\u003cbr\u003e\n\u003ca href=\"https://goo.gl/rPFpid\" \u003e\n\u003cimg src=\"https://i.imgur.com/ziSqeSo.png/\" width=\"156\" height=\"28\"\u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framotion%2Freact-native-expanding-collection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Framotion%2Freact-native-expanding-collection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framotion%2Freact-native-expanding-collection/lists"}