Skip to content

Commit 2e1b2fe

Browse files
committed
chore: add the stackoverflow answer to readme
1 parent 9271647 commit 2e1b2fe

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Readme.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
![npm](https://img.shields.io/npm/v/@smakss/react-scroll-direction) ![Snyk Vulnerabilities for npm package](https://img.shields.io/snyk/vulnerabilities/npm/@smakss/react-scroll-direction) ![NPM](https://img.shields.io/npm/l/@smakss/react-scroll-direction) ![npm](https://img.shields.io/npm/dt/@smakss/react-scroll-direction) ![npm bundle size (scoped)](https://img.shields.io/bundlephobia/min/@smakss/react-scroll-direction)
44

5-
This is a custom hook for react which is useful to detect scroll direction in react applications with a efficient way and custom threshold.
5+
This is a custom hook for react which is useful to detect scroll direction in React applications in an efficient way with a custom threshold.
6+
7+
This package is created on behalf of a [StackOverflow answer](https://stackoverflow.com/a/62497293/11908502) which draws some attention to itself, so if someone just wants something to work with right away, they can access it easily here.
68

79
## How it works?
810

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,5 @@
4646
"generate": "rollup -c"
4747
},
4848
"type": "module",
49-
"version": "1.0.0"
49+
"version": "1.0.1"
5050
}

0 commit comments

Comments
 (0)