Skip to content

Commit 2e2c232

Browse files
authored
Merge pull request pmndrs#464 from thiskevinwang/patch-1
Update Parallax.mdx
2 parents 7401357 + e5dcb94 commit 2e2c232

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

documentation/Parallax.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { Parallax, ParallaxLayer } from 'react-spring/addons'
1515

1616
## Basics
1717

18-
`Parallax` creates a scroll container. Throw in any amount of layers and it will take care of moving them in accordance to their offsets and speeds.
18+
`Parallax` creates a scroll container. Throw in any amount of `ParallaxLayer`s and it will take care of moving them in accordance to their offsets and speeds.
1919

2020
```jsx
2121
<Parallax pages={3} scrolling={false} horizontal ref={ref => this.parallax = ref}>
@@ -45,6 +45,10 @@ import { Parallax, ParallaxLayer } from 'react-spring/addons'
4545

4646
## Props
4747

48+
### Parallax
49+
4850
<PropsTable of={Parallax} />
4951

50-
<PropsTable of={ParallaxLayer} />
52+
### ParallaxLayer
53+
54+
<PropsTable of={ParallaxLayer} />

0 commit comments

Comments
 (0)