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 >
22
33# React Scroll Parallax
44
@@ -31,6 +31,8 @@ yarn add react-scroll-parallax@beta
3131
3232## Getting Started
3333
34+ Read the [ documentation] ( https://react-scroll-parallax.v3.damnthat.tv/ ) for setup and usage instructions.
35+
3436- [ Usage] ( https://react-scroll-parallax.v3.damnthat.tv/docs/usage/ )
3537- [ How it works] ( https://react-scroll-parallax.v3.damnthat.tv/docs/examples/how-it-works )
3638
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ import * as React from 'react';
4242import { ParallaxProvider } from ' react-scroll-parallax' ;
4343
4444const ScrollContainer = () => {
45- const [scrollEl, setScrollElement] = React .useState (null );
45+ const [scrollEl, setScrollElement] = React .useState < HTMLDivElement > (null );
4646 const ref = React .useRef <HTMLDivElement >();
4747 React .useEffect (() => {
4848 setScrollElement (ref .current );
You can’t perform that action at this time.
0 commit comments