React Native Touchable Scale
Provides the TouchableScale component for react native.
Props:
Name | prop-type | description |
---|---|---|
activeScale | number | The scale to set for the children |
onPress | func | Same as TouchableWithoutFeedback |
onPressIn | func | Same as TouchableWithoutFeedback |
onPressOut | func | Same as TouchableWithoutFeedback |
style | any | Same as TouchableWithoutFeedback |
activeStyle | any | Custom styles to set when the Touchable is active |
activeIndicies | array | Children for which activeStyle should be applied |
Installation
npm install --save rn-touchable-scale