Skip to content

Commit cc5e4c6

Browse files
committed
fix: mdx errors
1 parent e664dd9 commit cc5e4c6

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

documentation/docs/migration-guides/v2-migration-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ sidebar_position: 1
66

77
With mostly just new features, V3 also makes a few breaking changes. See the following and migrate any code that is affected.
88

9-
### Prop changes for <Parallax\>
9+
### Prop changes for `<Parallax/>`
1010

1111
If you've used any of the following props rename to new ones, or refactor if they are no longer supported.
1212

@@ -34,7 +34,7 @@ change it to:
3434
const parallaxController = useParallaxController();
3535
```
3636

37-
### Prop changes for <ParallaxBanner\>
37+
### Prop changes for `<ParallaxBanner/>`
3838

3939
Layers now accept all [parallax props](/docs/usage/parallax-props) but you will need to update if you used the `layer.amount` prop.
4040

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const SlowAndFast = () => (
6161

6262
:::info
6363

64-
The `speed` prop simplifies the application of a `translateX` or `translateY` effect based on the `ParallaxController` scroll axis – [See <ParallaxProvider\> Props](/docs/usage/components/parallax-provider#parallaxprovider-props)
64+
The `speed` prop simplifies the application of a `translateX` or `translateY` effect based on the `ParallaxController` scroll axis – [See <ParallaxProvider /> Props](/docs/usage/components/parallax-provider#parallaxprovider-props)
6565

6666
:::
6767

documentation/docs/usage/usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ The hook will apply the effect styles directly to the element that the `ref` is
4747

4848
Any of the [documented effects and configurations](/docs/usage/parallax-props) can be passed as params to the hook.
4949

50-
### Or with <Parallax\>
50+
### Or with `<Parallax />`
5151

5252
You can also use the [`<Parallax>`](/docs/usage/components/parallax-component) component. Here's an example that will transform the element on the [`translateY`](/docs/usage/parallax-props#css-effect-props) axis starting at `-20%` and ending at `20%` (`[-20, 20]` \*percent is assumed with no provided unit).
5353

0 commit comments

Comments
 (0)