React Native <TouchableBounce /> component
JavaScript Objective-C
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
example Initial commit Mar 7, 2016
src Import React API from react instead of react-native Jun 9, 2016
.gitignore Initial commit Mar 7, 2016
LICENSE Initial commit Mar 7, 2016 Add animated preview Mar 20, 2016
package.json Release v1.0.3. Mar 20, 2016


React Native Touchable Bounce component.


$ npm install react-native-touchable-bounce --save


Simply require('react-native-touchable-bounce') and use just like any other Touchable* component.

var React = require('react-native');
var { Text, View } = React;
var TouchableBounce = require('react-native-touchable-bounce');

var Example = React.createClass({
  render() {
    return (
        <TouchableBounce onPress={() => console.log('pressed')}>
          <Text>Click me</Text>

Running example

Start the packager by doing:

$ cd ./example && npm start

This step is required to run packager so that it will look into src folder for our TouchableBounce component