Skip to content

Commit 9271647

Browse files
committed
First breaking changes release
1 parent 60635aa commit 9271647

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ The useDetectScroll custom hook will accept 3 input parameter:
4141
### If the scroll goes upward/downward
4242

4343
```js
44-
const [scrollDir] = useDetectScroll();
44+
const [scrollDir] = useDetectScroll({});
4545

4646
// scrollDir: "up"/"down"
4747
```

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,5 @@
4646
"generate": "rollup -c"
4747
},
4848
"type": "module",
49-
"version": "0.0.7"
49+
"version": "1.0.0"
5050
}

0 commit comments

Comments
 (0)