UNPKG

react-native-gesture-handler

Version:

Declarative API exposing native platform touch and gesture system to React Native

14 lines (13 loc) 672 B
"use strict"; import { createContext, use } from 'react'; export let InterceptingDetectorMode = /*#__PURE__*/function (InterceptingDetectorMode) { InterceptingDetectorMode[InterceptingDetectorMode["DEFAULT"] = 0] = "DEFAULT"; InterceptingDetectorMode[InterceptingDetectorMode["ANIMATED"] = 1] = "ANIMATED"; InterceptingDetectorMode[InterceptingDetectorMode["REANIMATED"] = 2] = "REANIMATED"; return InterceptingDetectorMode; }({}); export const InterceptingDetectorContext = /*#__PURE__*/createContext(null); export function useInterceptingDetectorContext() { return use(InterceptingDetectorContext); } //# sourceMappingURL=useInterceptingDetectorContext.js.map