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
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,17 +21,17 @@ npm i react-scroll-parallax --save
21
21
22
22
## Usage
23
23
24
-
Wrap your component tree that will contain`<Parallax />` components with the `<ParallaxProvider />`. For example:
24
+
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