react-native-gesture-handler
Version:
Declarative API exposing native platform touch and gesture system to React Native
12 lines (10 loc) • 389 B
text/typescript
export const ActionType = {
REANIMATED_WORKLET: 1,
NATIVE_ANIMATED_EVENT: 2,
JS_FUNCTION_OLD_API: 3,
JS_FUNCTION_NEW_API: 4,
NATIVE_DETECTOR: 5,
VIRTUAL_DETECTOR: 6,
} as const;
// eslint-disable-next-line @typescript-eslint/no-redeclare -- backward compatibility; it can be used as a type and as a value
export type ActionType = (typeof ActionType)[keyof typeof ActionType];