Answers for "ReactNative onPress doesn't exist"

0

ReactNative onPress doesn't exist

<TouchableOpacity style={{backgroundColor: "red", padding: 20}} onPress={()=> {
    console.log('does not work');
    }
  }>
  <Text>X</Text>
</TouchableOpacity>
Posted by: Guest on May-27-2020

Code answers related to "ReactNative onPress doesn't exist"

Code answers related to "Javascript"

Browse Popular Code Answers by Language