1 #import <Foundation/Foundation.h> 2 3 typedef NS_ENUM(NSInteger, RNGestureHandlerActionType) { 4 RNGestureHandlerActionTypeReanimatedWorklet = 1, // Reanimated worklet 5 RNGestureHandlerActionTypeNativeAnimatedEvent, // Animated.event with useNativeDriver: true 6 RNGestureHandlerActionTypeJSFunctionOldAPI, // JS function or Animated.event with useNativeDriver: false using old 7 // RNGH API 8 RNGestureHandlerActionTypeJSFunctionNewAPI, // JS function or Animated.event with useNativeDriver: false using new 9 // RNGH API 10 }; 11