Skip to content

Commit 52a30c3

Browse files
committed
Add Animator import to react-scroll-motion in README.md
1 parent 3fbc560 commit 52a30c3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,10 @@ import { ScrollContainer, ScrollPage, batch, Fade, FadeIn, FadeOut, Move, MoveIn
6363
```jsx
6464
"use client";
6565

66-
import { ScrollContainer, ScrollPage, batch, Fade, FadeIn, FadeOut, Move, MoveIn, MoveOut, Sticky, StickyIn, StickyOut, Zoom, ZoomIn, ZoomOut } from "react-scroll-motion";
66+
import { Animator, ScrollContainer, ScrollPage, batch, Fade, FadeIn, FadeOut, Move, MoveIn, MoveOut, Sticky, StickyIn, StickyOut, Zoom, ZoomIn, ZoomOut } from "react-scroll-motion";
6767
```
68-
- Please add `"use client";` at the top of your file, when using NextJS v13 or higher
68+
- Please add `"use client";` at the top of your file, when using NextJS v13 or higher.
69+
- You don't need to use `next/dynamic` anymore
6970
- Here's NextJS v14 example code (https://github.com/1000ship/nextjs-14-react-scroll-motion)
7071

7172
## Example Code

0 commit comments

Comments
 (0)