From 927164745a12d0a39659d2faeb0d3ecdf71f5012 Mon Sep 17 00:00:00 2001 From: MAKSS Date: Thu, 27 Oct 2022 03:10:29 +0330 Subject: [PATCH] First breaking changes release --- Readme.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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" }