Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/grabbou/react-native-touchable-bounce
React Native <TouchableBounce /> component
https://github.com/grabbou/react-native-touchable-bounce
Last synced: about 1 month ago
JSON representation
React Native <TouchableBounce /> component
- Host: GitHub
- URL: https://github.com/grabbou/react-native-touchable-bounce
- Owner: grabbou
- License: other
- Created: 2016-03-07T11:18:15.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-04-05T15:46:02.000Z (over 6 years ago)
- Last Synced: 2024-10-23T11:37:30.905Z (about 2 months ago)
- Language: JavaScript
- Size: 17.6 KB
- Stars: 81
- Watchers: 4
- Forks: 11
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-react-native - react-native-touchable-bounce ★62 - React Native Touchable Bounce (Components / UI)
- awesome-react-native - react-native-touchable-bounce ★62 - React Native Touchable Bounce (Components / UI)
- awesome-reactnative-ui - react-native-touchable-bounce - eeb2-11e5-93d5-797ba1758a23.gif)| (Others)
- awesome-react-native - react-native-touchable-bounce ★62 - React Native Touchable Bounce (Components / UI)
- awesome-reactnative-ui - react-native-touchable-bounce - eeb2-11e5-93d5-797ba1758a23.gif)| (Others)
- awesome-react-native - react-native-touchable-bounce ★62 - React Native Touchable Bounce (Components / UI)
- awesome-react-native-ui - react-native-touchable-bounce ★19 - React Native Touchable Bounce (Components / UI)
README
# react-native-touchable-bounce
React Native Touchable Bounce component.
## Installation
```bash
$ npm install react-native-touchable-bounce --save
```## Usage
Simply `require('react-native-touchable-bounce')` and use just like any other `Touchable*` component.
```js
var React = require('react-native');
var { Text, View } = React;
var TouchableBounce = require('react-native-touchable-bounce');var Example = React.createClass({
render() {
return (
console.log('pressed')}>
Click me
);
}
});
```## Running example
Start the packager by doing:
```bash
$ cd ./example && npm start
```This step is required to run packager so that it will look into src folder for our TouchableBounce component