Skip to content

Commit f80693b

Browse files
committed
update README to reference new global ParallaxController
1 parent cd6dbf8 commit f80693b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ npm i react-scroll-parallax
2222

2323
## Usage
2424

25-
Import `ParallaxScroller` on the client side and call `ParallaxScroller.init()` to create the global singleton `ParallaxScrollListener` which will handle updating all parallax elements on scroll.
25+
Import `ParallaxController` on the client side and call `ParallaxController.init()` to create the global `ParallaxController` which will handle updating all parallax elements on scroll.
2626

2727
```
28-
import { ParallaxScroller } from 'react-scroll-parallax';
28+
import { ParallaxController } from 'react-scroll-parallax';
2929
30-
ParallaxScroller.init();
30+
ParallaxController.init();
3131
```
3232

3333
Import the `Parallax` component...

0 commit comments

Comments
 (0)