decord/source/5627_useNativeGesture.js

23 lines
772 B
JavaScript
Raw Normal View History

2026-08-25 06:04:03 +00:00
// Module ID: 5627
// Function ID: 5628
2026-08-24 06:08:38 +00:00
// Name: useNativeGesture
2026-08-25 06:04:03 +00:00
// Dependencies: [5601, 5616, 5592]
2026-08-24 06:08:38 +00:00
2026-08-25 06:04:03 +00:00
// Module 5627 (useNativeGesture)
import ComposedGestureName from "ComposedGestureName" /* 5592 */;
import isGestureEnabled from "isGestureEnabled" /* 5601 */;
import useGesture from "useGesture" /* 5616 */;
2026-08-24 06:08:38 +00:00
require = arg1;
const dependencyMap = arg6;
let closure_2 = {};
arg5.useNativeGesture = function useNativeGesture(gestureHandlerProps) {
let tmp = gestureHandlerProps;
if (gestureHandlerProps === undefined) {
tmp = closure_2;
}
const clonedAndRemappedConfig = isGestureEnabled.useClonedAndRemappedConfig(tmp);
const obj = isGestureEnabled;
return useGesture.useGesture(ComposedGestureName.SingleGestureName.Native, clonedAndRemappedConfig);
};