Package Exports
- react-native-touchable-scale
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-touchable-scale) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Animated touchable component.

Props | Required | Default Value |
---|---|---|
TouchableWithoutFeedback props... | ||
activeScale number | No | 0.9 |
Install
npm install --save react-native-touchable-scale
Usage
import TouchableScale from 'react-native-touchable-scale';
const Button = function(props) {
return (
<TouchableScale
style={style.button}
onPress={props.onPress}
activeScale={0.7}
>
{props.children}
</TouchableScale>
);
};