{"id":16750050,"url":"https://github.com/n4kz/react-native-fade-view","last_synced_at":"2025-03-21T22:32:03.343Z","repository":{"id":57336920,"uuid":"90733133","full_name":"n4kz/react-native-fade-view","owner":"n4kz","description":"Cross fade effect for child components","archived":false,"fork":false,"pushed_at":"2018-02-20T08:48:10.000Z","size":109,"stargazers_count":47,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T05:51:11.779Z","etag":null,"topics":["android","ios","react","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/n4kz.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-09T10:25:53.000Z","updated_at":"2023-08-15T14:04:36.000Z","dependencies_parsed_at":"2022-09-12T09:51:19.400Z","dependency_job_id":null,"html_url":"https://github.com/n4kz/react-native-fade-view","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n4kz%2Freact-native-fade-view","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n4kz%2Freact-native-fade-view/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n4kz%2Freact-native-fade-view/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n4kz%2Freact-native-fade-view/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/n4kz","download_url":"https://codeload.github.com/n4kz/react-native-fade-view/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244880405,"owners_count":20525507,"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":["android","ios","react","react-native"],"created_at":"2024-10-13T02:26:53.967Z","updated_at":"2025-03-21T22:32:02.919Z","avatar_url":"https://github.com/n4kz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[npm-badge]: https://img.shields.io/npm/v/react-native-fade-view.svg?colorB=ff6d00\n[npm-url]: https://npmjs.com/package/react-native-fade-view\n[license-badge]: https://img.shields.io/npm/l/react-native-fade-view.svg?colorB=448aff\n[license-url]: https://raw.githubusercontent.com/n4kz/react-native-fade-view/master/license.txt\n[codeclimate-badge]: https://img.shields.io/codeclimate/maintainability/n4kz/react-native-fade-view.svg\n[codeclimate-url]: https://codeclimate.com/github/n4kz/react-native-fade-view\n[example-url]: https://cloud.githubusercontent.com/assets/2055622/25848352/ab91e994-34c2-11e7-93c3-55477456b846.gif\n\n# react-native-fade-view\n\n[![npm][npm-badge]][npm-url]\n[![license][license-badge]][license-url]\n[![codeclimate][codeclimate-badge]][codeclimate-url]\n\nCross fade effect for child components\n\n![example][example-url]\n\n## Installation\n\n```bash\nnpm install --save react-native-fade-view\n```\n\n## Usage\n\n```javascript\nimport React, { Component } from 'react';\nimport { Image, Text } from 'react-native';\nimport FadeView from 'react-native-fade-view';\n\nclass Example extends Component {\n  render() {\n    let { active } = this.state;\n\n    return (\n      \u003cFadeView active={active}\u003e\n        \u003cText\u003eloading...\u003c/Text\u003e\n        \u003cImage onLoad={() =\u003e this.setState({ active: true })} /\u003e\n      \u003c/FadeView\u003e\n    );\n  }\n}\n```\n\n## Properties\n\n name                 | description               | type    | default\n:-------------------- |:------------------------- | -------:|:------------\n animationDuration    | Fade animation duration   |  Number | 225\n active               | Fade view state           | Boolean | false\n removeHiddenSubviews | Remove invisible subviews | Boolean | true\n\n## Example\n\n```bash\ngit clone https://github.com/n4kz/react-native-fade-view\ncd react-native-fade-view/example\nnpm install\nreact-native run-ios # or run-android\n```\n\n## Copyright and License\n\nBSD License\n\nCopyright 2017-2018 Alexander Nazarov. All rights reserved.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn4kz%2Freact-native-fade-view","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fn4kz%2Freact-native-fade-view","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn4kz%2Freact-native-fade-view/lists"}