Skip to content

Commit 44bfa20

Browse files
committed
chore(website): Updated some transition documentation
1 parent 41c1fa6 commit 44bfa20

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

packages/documentation/src/components/Demos/Transition/CrossFadeHookExample.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ transition.
88
The `useCrossFadeTransition` hook is really a hook version of the `CrossFade`
99
component that allows a bit more control for when the transition should fire
1010
since it uses the [useCSSTransition hook](#use-css-transition) behind the
11-
scenes. To create a transition, all that's required is to trigger the `ENTER`
11+
scenes. To create a transition, all that's required is to trigger the `'enter'`
1212
transition when it should be fired. Unlike the `CrossFade` component, the
1313
`useCrossFadeTransition` hook **does not automatically fire on mount**.
1414

packages/documentation/src/components/Demos/Transition/ScaleTransitionExample.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ This is generally used for temporary material instead of the collapse transition
99
since it is slightly more performant and that it will not move other items
1010
within the DOM while transitioning.
1111

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

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

0 commit comments

Comments
 (0)