{"id":22432930,"url":"https://github.com/hunghkit/effect-views","last_synced_at":"2025-03-27T07:43:16.820Z","repository":{"id":57219796,"uuid":"91971858","full_name":"hunghkit/effect-views","owner":"hunghkit","description":null,"archived":false,"fork":false,"pushed_at":"2017-05-21T23:09:10.000Z","size":182,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-03T10:47:57.772Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hunghkit.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":"2017-05-21T16:35:01.000Z","updated_at":"2020-02-20T14:58:35.000Z","dependencies_parsed_at":"2022-08-29T00:11:43.341Z","dependency_job_id":null,"html_url":"https://github.com/hunghkit/effect-views","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunghkit%2Feffect-views","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunghkit%2Feffect-views/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunghkit%2Feffect-views/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunghkit%2Feffect-views/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hunghkit","download_url":"https://codeload.github.com/hunghkit/effect-views/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245806109,"owners_count":20675293,"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-12-05T22:13:12.035Z","updated_at":"2025-03-27T07:43:16.801Z","avatar_url":"https://github.com/hunghkit.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Effect-views\n\n## Get Started\n\n### 1. Installation\nOn the command prompt run the following commands\n\n```sh\n$ npm install --save effect-views\n```\n### 2. Demo\n![Effect-views example](/example/images/demo.gif)\n\n```sh\nimport React, { Component } from 'react';\nimport {\n  Text,\n  View,\n  StyleSheet,\n  AppRegistry,\n} from 'react-native';\n\nimport { rippleView, RippleView } from 'effect-views';\n\nexport default class example extends Component {\n  renderItem(index) {\n    return (\n      \u003cRippleView\n        key={index}\n        style={styles.item}\n      \u003e\n        \u003cText\u003e{index}\u003c/Text\u003e\n      \u003c/RippleView\u003e\n    )\n  }\n\n  render() {\n    const Button = rippleView(View, { color: 'red' });\n\n    return (\n      \u003cView style={styles.container}\u003e\n        {[...new Array(10)].map((_, index) =\u003e this.renderItem(index))}\n        \u003cRippleView style={styles.btn}\u003e\n          \u003cText\u003eRippleView\u003c/Text\u003e\n        \u003c/RippleView\u003e\n        \u003cButton style={styles.btn}\u003e\n          \u003cText\u003eOverlay red\u003c/Text\u003e\n        \u003c/Button\u003e\n      \u003c/View\u003e\n    );\n  }\n}\n\nconst styles = StyleSheet.create({\n  container: {\n    flex: 1,\n    paddingTop: 50,\n    backgroundColor: '#F5FCFF',\n  },\n  item: {\n    padding: 10,\n    borderBottomWidth: 1,\n    alignItems: 'center',\n  },\n  btn: {\n    margin: 4,\n    padding: 10,\n    alignItems: 'center',\n    backgroundColor: '#4CAF50',\n  },\n});\n```\n### 3. LICENSE\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhunghkit%2Feffect-views","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhunghkit%2Feffect-views","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhunghkit%2Feffect-views/lists"}