Stay informed
Subscribe to our newsletter if you'd like to stay informed about Shoutem Extensions and Shoutem UI Toolkit.
TouchableOpacity is a React Native’s TouchableOpacity with additional styling through Theme.
Basically, it is a wrapper for making components respond properly to touches. On press down, the opacity of the wrapped component is decreased, dimming it.
<TouchableOpacity style="...">
{...}
</TouchableOpacity>
TouchableOpacity has the same props like React Native’s TouchableOpacity component has (onPress etc)TouchableOpacity has the same Style props like React Native’s TouchableOpacity component has (activeOpacity)activeOpacity can also be set through Theme, and it defaults to 0.8.