Closed gkasdorf closed 1 year ago
React Native touchables don't have any restrictions against using using Promises with the onPress prop, so we should add promises as a valid type for the onPress, onLongPress, and onPressDetailAccessory props.
onPress
onLongPress
onPressDetailAccessory
Thanks for the PR @gkasdorf!
React Native touchables don't have any restrictions against using using Promises with the onPress prop, so we should add promises as a valid type for the
onPress
,onLongPress
, andonPressDetailAccessory
props.