@smakss/react-scroll-direction 0.0.7 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/Readme.md +1 -1
  2. package/package.json +1 -1
package/Readme.md CHANGED
@@ -41,7 +41,7 @@ The useDetectScroll custom hook will accept 3 input parameter:
41
41
  ### If the scroll goes upward/downward
42
42
 
43
43
  ```js
44
- const [scrollDir] = useDetectScroll();
44
+ const [scrollDir] = useDetectScroll({});
45
45
 
46
46
  // scrollDir: "up"/"down"
47
47
  ```
package/package.json CHANGED
@@ -46,5 +46,5 @@
46
46
  "generate": "rollup -c"
47
47
  },
48
48
  "type": "module",
49
- "version": "0.0.7"
49
+ "version": "1.0.0"
50
50
  }