You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a react native gesture handler Pressable, I would like to implement custom handlers using the PressableEvent, but I can't because it is not properly exported. Is there any specific reason for this?
// ts error because PressableEvent is not exportedimport{Pressable,PressableEvent}from'react-native-gesture-handler'consthandlePress=(event: PressableEvent)=>{onPress(event)}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
When using a react native gesture handler Pressable, I would like to implement custom handlers using the PressableEvent, but I can't because it is not properly exported. Is there any specific reason for this?
Beta Was this translation helpful? Give feedback.
All reactions