disable touchableopacity when no network available site:stackoverflow.com code example
Example: react native touchableopacity disable
<TouchableOpacity disabled={true}>
<Text>I'm disabled</Text>
</TouchableOpacity>
<TouchableOpacity disabled={true}>
<Text>I'm disabled</Text>
</TouchableOpacity>