reshow-hooks
Advanced tools
Comparing version 0.17.33 to 0.17.34
@@ -53,7 +53,3 @@ "use strict"; | ||
}; | ||
var touchHandlers = { | ||
onTouchStart: start, | ||
onTouchEnd: cancel | ||
}; | ||
return (0, _objectSpread2["default"])((0, _objectSpread2["default"])({}, mouseHandlers), touchHandlers); | ||
return mouseHandlers; | ||
}, [callback]); | ||
@@ -60,0 +56,0 @@ }; |
{ | ||
"version": "0.17.33", | ||
"version": "0.17.34", | ||
"name": "reshow-hooks", | ||
@@ -4,0 +4,0 @@ "repository": { |
@@ -18,6 +18,4 @@ export default useLongPress; | ||
declare function useLongPress(callback: Function, payload?: LongPressPayload): { | ||
onTouchStart: (e: React.MouseEvent) => void; | ||
onTouchEnd: (e: React.MouseEvent) => void; | ||
onMouseDown: (e: React.MouseEvent) => void; | ||
onMouseUp: (e: React.MouseEvent) => void; | ||
}; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32125
938