React Native Touchable Bounce component
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>
);
}
});