// Module ID: 6845 // Function ID: 6846 // Dependencies: [6824, 6839, 6815] // Exports: useLongPressGesture // Module 6845 import ComposedGestureName from "ComposedGestureName" /* 6815 */; import DEFAULT_PROPS_TRANSFORMER from "DEFAULT_PROPS_TRANSFORMER" /* 6824 */; import _mod6839 from "module_6839" /* 6839 */; require = arg1; const dependencyMap = arg6; function transformLongPressProps(shouldCancelWhenOutside) { if (undefined === shouldCancelWhenOutside.shouldCancelWhenOutside) { shouldCancelWhenOutside.shouldCancelWhenOutside = true; } return shouldCancelWhenOutside; } const items = [["minDuration", "minDurationMs"], ["maxDistance", "maxDist"]]; const map = new Map(items); let closure_4 = {}; export const useLongPressGesture = function useLongPressGesture(gestureHandlerProps) { let tmp = gestureHandlerProps; if (gestureHandlerProps === undefined) { tmp = closure_4; } const clonedAndRemappedConfig = DEFAULT_PROPS_TRANSFORMER.useClonedAndRemappedConfig(tmp, map, transformLongPressProps); return _mod6839.useGesture(ComposedGestureName.SingleGestureName.LongPress, clonedAndRemappedConfig); };