{"id":19355646,"url":"https://github.com/tiaanduplessis/react-native-bouncy-touchable","last_synced_at":"2025-04-23T09:33:10.850Z","repository":{"id":33552010,"uuid":"159395039","full_name":"tiaanduplessis/react-native-bouncy-touchable","owner":"tiaanduplessis","description":"A bouncing touchable animated view","archived":false,"fork":false,"pushed_at":"2023-07-11T21:24:54.000Z","size":527,"stargazers_count":12,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-19T07:21:57.759Z","etag":null,"topics":["animation","bounce","bouncing","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tiaanduplessis.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":"2018-11-27T20:28:07.000Z","updated_at":"2023-09-08T17:47:40.000Z","dependencies_parsed_at":"2022-08-08T05:00:15.302Z","dependency_job_id":null,"html_url":"https://github.com/tiaanduplessis/react-native-bouncy-touchable","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/tiaanduplessis%2Freact-native-bouncy-touchable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiaanduplessis%2Freact-native-bouncy-touchable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiaanduplessis%2Freact-native-bouncy-touchable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiaanduplessis%2Freact-native-bouncy-touchable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tiaanduplessis","download_url":"https://codeload.github.com/tiaanduplessis/react-native-bouncy-touchable/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250407642,"owners_count":21425533,"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":["animation","bounce","bouncing","react","react-native"],"created_at":"2024-11-10T06:03:09.295Z","updated_at":"2025-04-23T09:33:10.839Z","avatar_url":"https://github.com/tiaanduplessis.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"example.gif\" width=\"30%\"\u003e\n\u003c/div\u003e\n\n# react-native-bouncy-touchable\n[![package version](https://img.shields.io/npm/v/react-native-bouncy-touchable.svg?style=flat-square)](https://npmjs.org/package/react-native-bouncy-touchable)\n[![package downloads](https://img.shields.io/npm/dm/react-native-bouncy-touchable.svg?style=flat-square)](https://npmjs.org/package/react-native-bouncy-touchable)\n[![standard-readme compliant](https://img.shields.io/badge/readme%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)\n[![package license](https://img.shields.io/npm/l/react-native-bouncy-touchable.svg?style=flat-square)](https://npmjs.org/package/react-native-bouncy-touchable)\n[![make a pull request](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n\n\u003e A bouncing touchable animated view\n\n## Table of Contents\n\n- [react-native-bouncy-touchable](#react-native-bouncy-touchable)\n  - [Table of Contents](#table-of-contents)\n  - [Install](#install)\n  - [Usage](#usage)\n  - [Props](#props)\n  - [Credits](#credits)\n  - [Contribute](#contribute)\n  - [License](#license)\n\n## Install\n\nThis project uses [node](https://nodejs.org) and [npm](https://www.npmjs.com). \n\n```sh\n$ npm install react-native-bouncy-touchable\n$ # OR\n$ yarn add react-native-bouncy-touchable\n```\n\n## Usage\n\n```js\nexport default class Button extends Component {\n\n    render () {\n      return (\n            \u003cBouncyView \n                delay={60} // Animation delay in miliseconds\n                scale={1.1} // Max scale of animation\n                style={styles.button} \n                onPress={this.props.onPress}\n            \u003e\n              \u003cText style={styles.buttonText}\u003e\n                {this.props.children}\n              \u003c/Text\u003e\n            \u003c/BouncyView\u003e\n      )\n    }\n  }\n```\n\n## Props\n\n\u003ctable width=\"80%\"\u003e\n    \u003ctr\u003e\n        \u003cth\u003eProperty\u003c/th\u003e\n        \u003cth\u003eType\u003c/th\u003e\n        \u003cth\u003eDescription\u003c/th\u003e\n        \u003cth\u003eDefault Value\u003c/th\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd\u003e\u003ccode\u003eonPress\u003c/code\u003e\u003c/td\u003e\n        \u003ctd\u003e\u003ccode\u003efunction\u003c/code\u003e\u003c/td\u003e\n        \u003ctd\u003eFunction called when user taps the view area\u003c/td\u003e\n        \u003ctd\u003e\u003ccode\u003enoop\u003c/code\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd\u003e\u003ccode\u003escale\u003c/code\u003e\u003c/td\u003e\n        \u003ctd\u003e\u003ccode\u003enumber\u003c/code\u003e\u003c/td\u003e\n        \u003ctd\u003eMax scale of animation\u003c/td\u003e\n        \u003ctd\u003e\u003ccode\u003e1.1\u003c/code\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd\u003e\u003ccode\u003edelay\u003c/code\u003e\u003c/td\u003e\n        \u003ctd\u003e\u003ccode\u003efloat\u003c/code\u003e\u003c/td\u003e\n        \u003ctd\u003eAnimation delay in miliseconds\u003c/td\u003e\n        \u003ctd\u003e\u003ccode\u003e40\u003c/code\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd\u003e\u003ccode\u003emoveSlop\u003c/code\u003e\u003c/td\u003e\n        \u003ctd\u003e\u003ccode\u003enumber\u003c/code\u003e\u003c/td\u003e\n        \u003ctd\u003eSlop area for press\u003c/td\u003e\n        \u003ctd\u003e\u003ccode\u003e15\u003c/code\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd\u003e\u003ccode\u003estyle\u003c/code\u003e\u003c/td\u003e\n        \u003ctd\u003e\u003ccode\u003eobject\u003c/code\u003e\u003c/td\u003e\n        \u003ctd\u003eCustom style for the component\u003c/td\u003e\n        \u003ctd\u003e\u003ccode\u003e{}\u003c/code\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n\u003c/table\u003e\n\n## Credits\n\nHeavily based on [react-native-bounceable](https://github.com/slavik0329/react-native-bounceable)\n\n## Contribute\n\n1. Fork it and create your feature branch: `git checkout -b my-new-feature`\n2. Commit your changes: `git commit -am \"Add some feature\"`\n3. Push to the branch: `git push origin my-new-feature`\n4. Submit a pull request\n\n## License\n\nMIT\n    ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiaanduplessis%2Freact-native-bouncy-touchable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftiaanduplessis%2Freact-native-bouncy-touchable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiaanduplessis%2Freact-native-bouncy-touchable/lists"}