We can easily do this by passing them as the onPress property for their respective TouchableOpacity: <TouchableOpacity onPress={increment} ...
確定! 回上一頁