React Native wrapper for making views respond properly to touches. On press down, the opacity of the wrapped view is decreased, dimming it.
React Native wrapper for making views respond properly to touches. On press down, the opacity of the wrapped view is decreased, dimming it.
Opacity is controlled by wrapping the children in an Animated.View, which is added to the view hierarchy. Be aware that this can affect layout.
Docs: https://facebook.github.io/react-native/docs/touchableopacity.html