File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
documentation/docs/usage/components Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
- <img src =" https://react-scroll-parallax.v3.damnthat.tv/img/logo.png " style =" width :96px ;height :auto ;" >
1
+ <a href = " https://react-scroll-parallax.v3.damnthat.tv/ " >< img src =" https://react-scroll-parallax.v3.damnthat.tv/img/logo.png " style =" width :96px ;height :auto ;" ></ a >
2
2
3
3
# React Scroll Parallax
4
4
@@ -31,6 +31,8 @@ yarn add react-scroll-parallax@beta
31
31
32
32
## Getting Started
33
33
34
+ Read the [ documentation] ( https://react-scroll-parallax.v3.damnthat.tv/ ) for setup and usage instructions.
35
+
34
36
- [ Usage] ( https://react-scroll-parallax.v3.damnthat.tv/docs/usage/ )
35
37
- [ How it works] ( https://react-scroll-parallax.v3.damnthat.tv/docs/examples/how-it-works )
36
38
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ import * as React from 'react';
42
42
import { ParallaxProvider } from ' react-scroll-parallax' ;
43
43
44
44
const ScrollContainer = () => {
45
- const [scrollEl, setScrollElement] = React .useState (null );
45
+ const [scrollEl, setScrollElement] = React .useState < HTMLDivElement > (null );
46
46
const ref = React .useRef <HTMLDivElement >();
47
47
React .useEffect (() => {
48
48
setScrollElement (ref .current );
You can’t perform that action at this time.
0 commit comments