You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ npm i react-scroll-parallax --save
20
20
21
21
## Usage
22
22
23
-
Wrap your component tree that will contain `<Parallax />` components with the `<ParallaxProvider />`;
23
+
Wrap your component tree that will contain `<Parallax />` components with the `<ParallaxProvider />`. For example:
24
24
25
25
```jsx
26
26
...
@@ -121,7 +121,7 @@ Optionally pass a tag name to be applied to the outer most parallax element. For
121
121
122
122
## Parallax Controller Context
123
123
124
-
Access the Parallax Controller via context in any components rendered within a `<ParallaxProvider />` by defining the `contextTypes` like so:
124
+
Access the Parallax Controller via [React context](https://facebook.github.io/react/docs/context.html) in any components rendered within a `<ParallaxProvider />` by defining the `contextTypes` like so:
0 commit comments