Skip to content

Commit 04b5ba9

Browse files
committed
docs: links and formatting in parallax provider doc
1 parent 1483960 commit 04b5ba9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const AppContainer = () => (
2424

2525
:::info
2626

27-
You can have multiple providers, however they will all be independent instances of a `ParallaxController`. It's recommended to only use one when possible.
27+
You can have multiple providers, however they will all be independent instances of a [`ParallaxController`](https://parallax-controller.damnthat.tv/docs/api/parallax-controller/). It's recommended to only use one when possible.
2828

2929
:::
3030

@@ -39,9 +39,9 @@ The following props configure the `<ParallaxProvider>` component:
3939

4040
## Example: Scroll Container
4141

42-
By default the <ParallaxProvider\> uses the document scrolling element. If your app's overflow is a unique element you need to provide the element as the `scrollContainer`. Here's how:
42+
By default the `<ParallaxProvider>` uses the document scrolling element. If your app's overflow is a unique element you need to provide the element as the `scrollContainer`. Here's how:
4343

44-
```tsx
44+
```tsx title="ScrollContainer.tsx"
4545
import * as React from 'react';
4646
import { ParallaxProvider } from 'react-scroll-parallax';
4747

0 commit comments

Comments
 (0)