diff --git a/Readme.md b/Readme.md index de9c023..51822f4 100644 --- a/Readme.md +++ b/Readme.md @@ -41,7 +41,7 @@ The useDetectScroll custom hook will accept 3 input parameter: ### If the scroll goes upward/downward ```js -const [scrollDir] = useDetectScroll(); +const [scrollDir] = useDetectScroll({}); // scrollDir: "up"/"down" ``` diff --git a/package.json b/package.json index e3fbffa..f96b4ab 100644 --- a/package.json +++ b/package.json @@ -46,5 +46,5 @@ "generate": "rollup -c" }, "type": "module", - "version": "0.0.7" + "version": "1.0.0" }