Skip to content

Commit

Permalink
Upgrade to [email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanselzer committed Mar 4, 2017
1 parent 36eca54 commit 07f15ba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@
"react-dom": "~0.14.8 || ^15.0.0"
},
"dependencies": {
"babel-runtime": "^6.6.1",
"babel-runtime": "^6.23.0",
"lodash.assign": "^4.2.0",
"lodash.clamp": "^4.0.3",
"react-cursor-position": "^1.1.0",
"react-hover-observer": "^1.1.0",
"react-touch-position": "^1.0.2"
"react-cursor-position": "^1.3.6",
"react-hover-observer": "^1.1.1",
"react-touch-position": "^2.0.1"
}
}
4 changes: 2 additions & 2 deletions src/ReactImageMagnifyTouch.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ const ReactImageMagnifyTouch = ({
<ReactTouchPosition { ...{
className,
isActivatedOnTouch,
mapPropNames: ({ isActive, isTouchOutside, touchPosition }) => ({
mapChildProps: ({ isActive, isPositionOutside, touchPosition }) => ({
isHovering: isActive,
isTouchOutside,
isTouchOutside: isPositionOutside,
cursorPosition: touchPosition
}),
pressDuration,
Expand Down

0 comments on commit 07f15ba

Please sign in to comment.