Skip to content

Commit 46dfae2

Browse files
committed
add yarn to readme
1 parent d6f35d0 commit 46dfae2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,18 @@ Some links demonstrating possible effects created with this lib:
1515

1616
## Install
1717

18+
With npm
19+
1820
```
1921
npm i react-scroll-parallax --save
2022
```
2123

24+
or yarn
25+
26+
```
27+
yarn add react-scroll-parallax
28+
```
29+
2230
## Usage
2331

2432
The `<ParallaxProvider />` should wrap the component tree that contains all `<Parallax />` components. This should be a top level component like `<AppContainer />`. The `<ParallaxProvider />` will then provide necessary context to the [`parallaxController`](#parallax-controller-context) for all `<Parallax />` elements. For example:

0 commit comments

Comments
 (0)