-
I need to disable |
Beta Was this translation helpful? Give feedback.
Answered by
Glazzes
Nov 18, 2024
Replies: 1 comment 1 reply
-
All gestures have a method called enabled, you can enable a gesture dynamically like this: const [isEnabled, setIsEnabled] = useState<boolean>(true);
const pinch = Gesture.Pinch().enabled(isEnabled); |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Nantris
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
All gestures have a method called enabled, you can enable a gesture dynamically like this: