{"id":24592277,"url":"https://github.com/darmody/react-native-refresh-control-view","last_synced_at":"2025-04-30T10:16:35.156Z","repository":{"id":57336392,"uuid":"177518363","full_name":"Darmody/react-native-refresh-control-view","owner":"Darmody","description":"customize react native refresh control","archived":false,"fork":false,"pushed_at":"2019-03-28T05:52:58.000Z","size":602,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-30T10:16:24.610Z","etag":null,"topics":["pull-to-refresh","react-native","refresh-control"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Darmody.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":"2019-03-25T05:12:07.000Z","updated_at":"2020-10-14T00:55:09.000Z","dependencies_parsed_at":"2022-09-03T07:10:46.572Z","dependency_job_id":null,"html_url":"https://github.com/Darmody/react-native-refresh-control-view","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Darmody%2Freact-native-refresh-control-view","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Darmody%2Freact-native-refresh-control-view/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Darmody%2Freact-native-refresh-control-view/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Darmody%2Freact-native-refresh-control-view/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Darmody","download_url":"https://codeload.github.com/Darmody/react-native-refresh-control-view/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251683374,"owners_count":21626955,"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":["pull-to-refresh","react-native","refresh-control"],"created_at":"2025-01-24T10:14:06.542Z","updated_at":"2025-04-30T10:16:35.127Z","avatar_url":"https://github.com/Darmody.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Native Refresh Control View\n\n![npm version](https://img.shields.io/npm/v/react-native-customizable-refresh-control-view.svg?style=flat-square)\n\nLet you have ability to customize refresh control.\n\n**NOT READY YET**\n\n![DEMO](./example/demo.gif)\n\n## Install\n\n```bash\n  # peer dependency\n  yarn add react-native-gesture-handler\n  yarn add react-native-customizable-refresh-control-view\n```\n\n## Usage\n\n```jsx\nimport React from 'react';\nimport { Text } from 'react-native';\nimport { ScrollView } from 'react-native-customizable-refresh-control-view';\n\nclass RefreshControl extends React.Component {\n  render() {\n    return \u003cText\u003eRefreshing...\u003c/Text\u003e;\n  }\n}\n\nclass ReactComponent extends React.Component {\n  handlePullRefresh = () =\u003e {\n    // refreshing, you can return promise here.\n  };\n\n  render() {\n    return (\n      \u003cScrollView\n        onPullRefresh={this.handlePullRefresh}\n        minRefreshDistance={100}\n        RefreshControl={RefreshControl}\n      \u003e\n        ...content\n      \u003c/ScrollView\u003e\n    );\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarmody%2Freact-native-refresh-control-view","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarmody%2Freact-native-refresh-control-view","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarmody%2Freact-native-refresh-control-view/lists"}