Skip to content

Commit

Permalink
chore(website): Updated some transition documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mlaursen committed Nov 24, 2021
1 parent 41c1fa6 commit 44bfa20
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Expand Up @@ -8,7 +8,7 @@ transition.
The `useCrossFadeTransition` hook is really a hook version of the `CrossFade`
component that allows a bit more control for when the transition should fire
since it uses the [useCSSTransition hook](#use-css-transition) behind the
scenes. To create a transition, all that's required is to trigger the `ENTER`
scenes. To create a transition, all that's required is to trigger the `'enter'`
transition when it should be fired. Unlike the `CrossFade` component, the
`useCrossFadeTransition` hook **does not automatically fire on mount**.

Expand Down
Expand Up @@ -9,10 +9,10 @@ This is generally used for temporary material instead of the collapse transition
since it is slightly more performant and that it will not move other items
within the DOM while transitioning.

This transition can be used with the `ScaleTransition` component or a custom
usage with the `useCSSTransition` hook. The default transition will transition
both the x and y values, but enabling the `vertical` prop will change it to only
be the y value change.
This transition can be used with the `ScaleTransition` component or the
`useScaleTransition` hook. The default transition will transition both the x and
y values, but enabling the `vertical` prop will change it to only be the y value
change.

> Note: You can also set your own `transform-origin` to modify these transitions
> even more.

0 comments on commit 44bfa20

Please sign in to comment.