Skip to content

Commit

Permalink
fix: mdx errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jscottsmith committed Dec 17, 2023
1 parent b3e7d07 commit 829609b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions documentation/docs/migration-guides/v2-migration-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sidebar_position: 1

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

### Prop changes for <Parallax\>
### Prop changes for `<Parallax/>`

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

Expand Down Expand Up @@ -34,7 +34,7 @@ change it to:
const parallaxController = useParallaxController();
```

### Prop changes for <ParallaxBanner\>
### Prop changes for `<ParallaxBanner/>`

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

Expand Down
2 changes: 1 addition & 1 deletion documentation/docs/usage/components/parallax-component.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const SlowAndFast = () => (

:::info

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)
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)

:::

Expand Down
2 changes: 1 addition & 1 deletion documentation/docs/usage/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ The hook will apply the effect styles directly to the element that the `ref` is

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

### Or with <Parallax\>
### Or with `<Parallax />`

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).

Expand Down

0 comments on commit 829609b

Please sign in to comment.