Skip to content

Commit d8a27e1

Browse files
committed
add npm install note in README
1 parent 9201d9e commit d8a27e1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ Provides a React component and single global passive scroll listener to add **ve
1010

1111
## Usage
1212

13+
Install
14+
15+
```
16+
npm i react-scroll-parallax
17+
```
18+
1319
Import `ParallaxScrollListener` on the client side. This will self invoke and create the **global** `ParallaxScrollListener` which will handle updating all parallax elements on scroll.
1420

1521
```

0 commit comments

Comments
 (0)