Skip to content

Commit 955e70f

Browse files
committed
docs: more links to docs
1 parent 02e4ae7 commit 955e70f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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

documentation/docs/usage/components/parallax-provider.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ import * as React from 'react';
4242
import { ParallaxProvider } from 'react-scroll-parallax';
4343

4444
const 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);

0 commit comments

Comments
 (0)