Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

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