decord/source/5693_useNativeGesture.js

23 lines
772 B
JavaScript
Raw Normal View History

2026-08-26 06:04:24 +00:00
// Module ID: 5693
// Function ID: 5694
2026-08-24 06:08:38 +00:00
// Name: useNativeGesture
2026-08-26 06:04:24 +00:00
// Dependencies: [5667, 5682, 5658]
2026-08-24 06:08:38 +00:00
2026-08-26 06:04:24 +00:00
// Module 5693 (useNativeGesture)
import ComposedGestureName from "ComposedGestureName" /* 5658 */;
import isGestureEnabled from "isGestureEnabled" /* 5667 */;
import useGesture from "useGesture" /* 5682 */;
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);
};