Skip to content

mrjogo/react-native-touchable-bounce

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-native-touchable-bounce

React Native Touchable Bounce component.

Installation

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

Usage

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 (
      <View>
        <TouchableBounce onPress={() => console.log('pressed')}>
          <Text>Click me</Text>
        </TouchableBounce>
      </View>
    );
  }
});

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

About

React Native <TouchableBounce /> component

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 55.9%
  • Objective-C 44.1%